Warning
This document is for an old release 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.
galaxy.webapps package¶
Galaxy webapps root package – this is a namespace package.
Subpackages¶
- galaxy.webapps.base package
- galaxy.webapps.galaxy package
- Subpackages
- galaxy.webapps.galaxy.api package
- Submodules
- galaxy.webapps.galaxy.api.annotations module
- galaxy.webapps.galaxy.api.authenticate module
- galaxy.webapps.galaxy.api.cloud module
- galaxy.webapps.galaxy.api.cloudauthz module
- galaxy.webapps.galaxy.api.configuration module
- galaxy.webapps.galaxy.api.container_resolution module
- galaxy.webapps.galaxy.api.dataset_collections module
- galaxy.webapps.galaxy.api.datasets module
- galaxy.webapps.galaxy.api.datatypes module
- galaxy.webapps.galaxy.api.display_applications module
- galaxy.webapps.galaxy.api.dynamic_tools module
- galaxy.webapps.galaxy.api.extended_metadata module
- galaxy.webapps.galaxy.api.folder_contents module
- galaxy.webapps.galaxy.api.folders module
- galaxy.webapps.galaxy.api.forms module
- galaxy.webapps.galaxy.api.genomes module
- galaxy.webapps.galaxy.api.group_roles module
- galaxy.webapps.galaxy.api.group_users module
- galaxy.webapps.galaxy.api.groups module
- galaxy.webapps.galaxy.api.histories module
- galaxy.webapps.galaxy.api.history_contents module
- galaxy.webapps.galaxy.api.item_tags module
- galaxy.webapps.galaxy.api.job_files module
- galaxy.webapps.galaxy.api.job_lock module
- galaxy.webapps.galaxy.api.job_ports module
- galaxy.webapps.galaxy.api.jobs module
- galaxy.webapps.galaxy.api.libraries module
- galaxy.webapps.galaxy.api.library_contents module
- galaxy.webapps.galaxy.api.library_datasets module
- galaxy.webapps.galaxy.api.licenses module
- galaxy.webapps.galaxy.api.metrics module
- galaxy.webapps.galaxy.api.page_revisions module
- galaxy.webapps.galaxy.api.pages module
- galaxy.webapps.galaxy.api.plugins module
- galaxy.webapps.galaxy.api.provenance module
- galaxy.webapps.galaxy.api.quotas module
- galaxy.webapps.galaxy.api.remote_files module
- galaxy.webapps.galaxy.api.roles module
- galaxy.webapps.galaxy.api.search module
- galaxy.webapps.galaxy.api.tags module
- galaxy.webapps.galaxy.api.tool_data module
- galaxy.webapps.galaxy.api.tool_dependencies module
- galaxy.webapps.galaxy.api.tool_entry_points module
- galaxy.webapps.galaxy.api.tool_shed_repositories module
- galaxy.webapps.galaxy.api.tools module
- galaxy.webapps.galaxy.api.toolshed module
- galaxy.webapps.galaxy.api.tours module
- galaxy.webapps.galaxy.api.trs_consumer module
- galaxy.webapps.galaxy.api.trs_search module
- galaxy.webapps.galaxy.api.uploads module
- galaxy.webapps.galaxy.api.users module
- galaxy.webapps.galaxy.api.visualizations module
- galaxy.webapps.galaxy.api.webhooks module
- galaxy.webapps.galaxy.api.workflows module
- galaxy.webapps.galaxy.controllers package
- Submodules
- galaxy.webapps.galaxy.controllers.admin module
- galaxy.webapps.galaxy.controllers.admin_toolshed module
- galaxy.webapps.galaxy.controllers.async module
- galaxy.webapps.galaxy.controllers.authnz module
- galaxy.webapps.galaxy.controllers.data_manager module
- galaxy.webapps.galaxy.controllers.dataset module
- galaxy.webapps.galaxy.controllers.error module
- galaxy.webapps.galaxy.controllers.forms module
- galaxy.webapps.galaxy.controllers.history module
- galaxy.webapps.galaxy.controllers.interactive_environments module
- galaxy.webapps.galaxy.controllers.library module
- galaxy.webapps.galaxy.controllers.openid module
- galaxy.webapps.galaxy.controllers.page module
- galaxy.webapps.galaxy.controllers.root module
- galaxy.webapps.galaxy.controllers.shed_tool_static module
- galaxy.webapps.galaxy.controllers.tag module
- galaxy.webapps.galaxy.controllers.tool_runner module
- galaxy.webapps.galaxy.controllers.user module
- galaxy.webapps.galaxy.controllers.userskeys module
- galaxy.webapps.galaxy.controllers.visualization module
- galaxy.webapps.galaxy.controllers.workflow module
- galaxy.webapps.galaxy.api package
- Submodules
- galaxy.webapps.galaxy.buildapp module
- galaxy.webapps.galaxy.fast_app module
- Subpackages
- galaxy.webapps.reports package
- Subpackages
- galaxy.webapps.reports.controllers package
- Submodules
- galaxy.webapps.reports.controllers.history module
- galaxy.webapps.reports.controllers.home module
- galaxy.webapps.reports.controllers.jobs module
- galaxy.webapps.reports.controllers.query module
- galaxy.webapps.reports.controllers.root module
- galaxy.webapps.reports.controllers.system module
- galaxy.webapps.reports.controllers.tools module
- galaxy.webapps.reports.controllers.users module
- galaxy.webapps.reports.controllers.workflows module
- galaxy.webapps.reports.controllers package
- Submodules
- galaxy.webapps.reports.app module
- galaxy.webapps.reports.buildapp module
- galaxy.webapps.reports.config module
- Subpackages
Submodules¶
galaxy.webapps.util module¶
-
galaxy.webapps.util.
build_template_error_formatters
()[source]¶ Build a list of template error formatters for WebError. When an error occurs, WebError pass the exception to each function in this list until one returns a value, which will be displayed on the error page.
-
galaxy.webapps.util.
wrap_if_allowed_or_fail
(app, stack, wrap, name=None, args=None, kwargs=None)[source]¶ Wrap the application with the given method if the application stack allows for it.
Arguments are the same as for
wrap_if_allowed()
.Raises py:class:MiddlewareWrapUnsupported if the stack does not allow the middleware.
-
galaxy.webapps.util.
wrap_if_allowed
(app, stack, wrap, name=None, args=None, kwargs=None)[source]¶ Wrap the application with the given method if the application stack allows for it.
- Parameters
app (
galaxy.webapps.base.webapp.WebApplication
subclass) – application to wrapstack (
galaxy.web_stack.ApplicationStack
subclass) – instance of application stack implementing allowed_middleware() methodwrap (types.FunctionType or types.LambdaType) – function to wrap application with
name (str) – alternative wrap function name for logging purposes (wrap.__name__ if None)
args (list) – arguments to pass to wrap (not including app itself)
kwargs (dict) – keyword arguments to pass to wrap
Returns app unmodified if the stack does not allow the middleware.