-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Nice blog article about it:
https://towardsdatascience.com/how-to-make-the-most-of-pydantic-aa374d5c12d
Use of pydantic ecosystem:
https://docs.pydantic.dev/latest/usage/schema/
https://docs.pydantic.dev/latest/datamodel_code_generator/
Draw data model with:
https://erdantic.drivendata.org/v0.2/examples/pydantic/
In particular, we expect to use
from functools import singledispatch
with
@singledispatch
and
@process.register
Decorators, to save proper data object to the DB through SQLAlachemy,
see a nice demo here:
https://fastapi.tiangolo.com/tutorial/sql-databases/
Metadata
Metadata
Assignees
Labels
No labels