def session():
    global _session

    if _session == None:
        _session = sessionmaker(bind=engine())

    return _session()
Gets a SQLAlchemy session
dataset/ETHPy150Open dailymuse/oz/oz/sqlalchemy/__init__.py/session