3 ms·
Ha! You just described 2 of the main future projects I have planned! 1. An admin UI based on OpenAPI, which makes it independent of DB. 2. A mix between Pydan
by tiangolo 6y ago
Ha! You just described 2 of the main future projects I have planned!
1. An admin UI based on OpenAPI, which makes it independent of DB.
2. A mix between Pydantic and SQLAlchemy, to use the same Pydantic model for both (I have some experiment in progress).
I just need to find the time for it all, but it's certainly planned.
- 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.