def setup(db: SQLAlchemyUnchained):
    session_manager = SessionManager(db)

    class Foo(db.Model):

        class Meta():
            lazy_mapped = False
        name = db.Column(db.String)
    db.create_all()
    return (Foo, session_manager)
def setup(db: SQLAlchemyUnchained):
    session_manager = SessionManager(db)

    class Foo(db.Model):

        class Meta():
            lazy_mapped = False
        name = db.Column(db.String)
    db.create_all()
    return (Foo, session_manager)