class ScopedSessionMixin(object):
Known subclasses: sqlalchemy.ext.asyncio.scoping.async_scoped_session
, sqlalchemy.orm.scoping.scoped_session
Undocumented
Method | __call__ |
Return the current .Session , creating it using the .scoped_session.session_factory if not present. |
Method | configure |
reconfigure the .sessionmaker used by this .scoped_session . |
Property | _proxied |
Undocumented |
.Session
, creating it
using the .scoped_session.session_factory
if not present.Parameters | |
**kw | Keyword arguments will be passed to the
.scoped_session.session_factory callable, if an existing
.Session is not present. If the .Session is present
and keyword arguments have been passed,
~sqlalchemy.exc.InvalidRequestError is raised. |