sqlalchemy get schema from database
snippet in sql

sqlalchemy get schema from database

user3303

from sqlalchemy import MetaData, create_engine

CONN = create_engine(DB_URL, client_encoding="UTF-8")

META_DATA = MetaData(bind=CONN, reflect=True)

USERS_TABLE = META_DATA.tables['users']