-
I am using the SQLAlchemy plugin, and the UUIDAuditBase (which includes columns for UUID and created/updated timestamps) as a base model for my models. I validate the data in requests/responses using the SQLAlchemyDTO. Whenever I make a POST request to any endpoint where the data is validated using a DTO which is based on a model having datetime.datetime (or datetime.date) column, the validation fails because of error:
I have tried to reinstall msgspec (0.18.2). Litestar v2.0.1 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Answering myself: No idea what was happening or what I did to fix this, but probably after modifying some lazy="..." params in my models, I do not experience the same problem anymore. |
Beta Was this translation helpful? Give feedback.
Answering myself: No idea what was happening or what I did to fix this, but probably after modifying some lazy="..." params in my models, I do not experience the same problem anymore.