class documentation

class ScopedSessionMixin(object):

Known subclasses: sqlalchemy.ext.asyncio.scoping.async_scoped_session, sqlalchemy.orm.scoping.scoped_session

View In Hierarchy

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
def __call__(self, **kw):
Return the current .Session, creating it using the .scoped_session.session_factory if not present.
Parameters
**kwKeyword 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.
def configure(self, **kwargs):

reconfigure the .sessionmaker used by this .scoped_session.

See .sessionmaker.configure.

@property
_proxied =