backends.database.session

SQLAlchemy session.

Module Contents

Classes

SessionManager(self) Manage SQLAlchemy sessions.

Functions

_after_fork_cleanup_session(session)
_after_fork_cleanup_session(session)
class SessionManager

Manage SQLAlchemy sessions.

__init__()
_after_fork()
get_engine(dburi, **kwargs)
create_session(dburi, short_lived_sessions=False, **kwargs)
prepare_models(engine)
session_factory(dburi, **kwargs)