Relative Content

Tag Archive for pythoninheritancesqlalchemycreate-table

sql Alchemy models inheritance

I use Python and SQLAlchemy 2.0.23. My aim is to dynamically create SQLAlchemy models and tables in postgre database based on these models. I have several countries, and these are similar tables for all countries, so I use Dynamic Model class, to create a separate model for each country