sqlalchemy get tables from session code example
Example 1: sql alchemy engine all tables
engine.table_names()
Example 2: list tables sqlalchemy
$ python
>>> from myapp import db
>>> db.engine.table_names()
engine.table_names()
$ python
>>> from myapp import db
>>> db.engine.table_names()