4 ms·
> A mix between Pydantic and SQLAlchemy, to use the same Pydantic model for both (I have some experiment in progress). I'm not if it's a good idea. If app is m
by lukasm 6y ago
> A mix between Pydantic and SQLAlchemy, to use the same Pydantic model for both (I have some experiment in progress).
I'm not if it's a good idea. If app is more complex than a TODO you end up with a few way to serialise the same DB model. You have a few schemas to update User in the DB, serlize into the queue without password etc.