Some auto-generated attributes are added to models. Simple relationships are supported but require models to be imported: Currently, some basic use cases like inferring model field types are supported ...
Note that the session object provided by db.session is based on the Python3.7+ ContextVar. This means that each session is linked to the individual request context in which it was created.