galaxy.managers package¶
Classes that manage resources (models, tools, etc.) by using the current Transaction.
Encapsulates the intersection of trans (or trans.sa_session), models, and Controllers.
Responsibilities:
model operations that involve the trans/sa_session (CRUD)
security: ownership, accessibility
common aspect-oriented operations via new mixins: sharable, annotatable, tagable, ratable
Not responsible for:
encoding/decoding ids
any http gobblygook
formatting of returned data (always python structures)
formatting of raised errors
The goal is to have Controllers only handle:
query-string/payload parsing and encoding/decoding ids
http
return formatting
control, improve namespacing in Controllers
DRY for Controller ops (define here - use in both UI/API Controllers)
In other words, ‘Business logic’ independent of web transactions/user context (trans) should be pushed into models - but logic that requires the context trans should be placed under this module.
Submodules¶
galaxy.managers.annotatable module¶
galaxy.managers.api_keys module¶
galaxy.managers.base module¶
galaxy.managers.citations module¶
galaxy.managers.cloud module¶
galaxy.managers.cloudauthzs module¶
galaxy.managers.collections module¶
galaxy.managers.collections_util module¶
galaxy.managers.configuration module¶
galaxy.managers.context module¶
galaxy.managers.datasets module¶
galaxy.managers.datatypes module¶
galaxy.managers.deletable module¶
galaxy.managers.display_applications module¶
galaxy.managers.executables module¶
galaxy.managers.folders module¶
galaxy.managers.genomes module¶
galaxy.managers.group_roles module¶
galaxy.managers.group_users module¶
galaxy.managers.groups module¶
galaxy.managers.hdas module¶
galaxy.managers.hdcas module¶
galaxy.managers.histories module¶
galaxy.managers.history_contents module¶
galaxy.managers.interactivetool module¶
galaxy.managers.jobs module¶
galaxy.managers.lddas module¶
galaxy.managers.libraries module¶
galaxy.managers.library_datasets module¶
galaxy.managers.licenses module¶
galaxy.managers.markdown_parse module¶
Utilities for parsing “Galaxy Flavored Markdown”.
See markdown_util.py for loading objects and interacting with the rest of Galaxy. This file is meant to be relatively self contained and just used to “parse” and validate Galaxy Markdown. Keeping things isolated to allow re-use of these utilities in other projects (e.g. gxformat2).