Warning
This document is for an in-development version of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.
Source code for galaxy.model.scoped_session
"""
These classes are used for registering different scoped_session objects with
the DI framework. This type distinction is necessary because we need to store
scoped_session objects that produce sessions that may have different binds
(i.e., if the tool_shed_install model uses a different database).
"""
from sqlalchemy.orm import scoped_session
[docs]class install_model_scoped_session(scoped_session):
"""scoped_session used for tool_shed_install model."""