server.web.db.deps
Attributes
Functions
|
Context-manager that commits/rolls back and closes the Session. |
|
Yield a SQLAlchemy Session managed inside a context-manager. |
Module Contents
- server.web.db.deps._session_scope() Generator[sqlalchemy.orm.Session, None, None][source]
Context-manager that commits/rolls back and closes the Session.