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.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.configuration module
- galaxy.webapps.galaxy.api.dataset_collections module
- galaxy.webapps.galaxy.api.datasets module
- galaxy.webapps.galaxy.api.datatypes 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.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.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.tool_data module
- galaxy.webapps.galaxy.api.tool_dependencies 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.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.biostar 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.page module
- galaxy.webapps.galaxy.controllers.root 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.config_watchers 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.framework package
- galaxy.webapps.reports.controllers package
- Submodules
- galaxy.webapps.reports.app module
- galaxy.webapps.reports.buildapp module
- galaxy.webapps.reports.config module
- Subpackages
- galaxy.webapps.tool_shed package
- Subpackages
- galaxy.webapps.tool_shed.api package
- Submodules
- galaxy.webapps.tool_shed.api.authenticate module
- galaxy.webapps.tool_shed.api.categories module
- galaxy.webapps.tool_shed.api.configuration module
- galaxy.webapps.tool_shed.api.groups module
- galaxy.webapps.tool_shed.api.repositories module
- galaxy.webapps.tool_shed.api.repository_revisions module
- galaxy.webapps.tool_shed.api.tools module
- galaxy.webapps.tool_shed.api.users module
- galaxy.webapps.tool_shed.controllers package
- Submodules
- galaxy.webapps.tool_shed.controllers.admin module
- galaxy.webapps.tool_shed.controllers.groups module
- galaxy.webapps.tool_shed.controllers.hg module
- galaxy.webapps.tool_shed.controllers.repository module
- galaxy.webapps.tool_shed.controllers.repository_review module
- galaxy.webapps.tool_shed.controllers.upload module
- galaxy.webapps.tool_shed.controllers.user module
- galaxy.webapps.tool_shed.framework package
- galaxy.webapps.tool_shed.model package
- galaxy.webapps.tool_shed.search package
- galaxy.webapps.tool_shed.security package
- galaxy.webapps.tool_shed.util package
- galaxy.webapps.tool_shed.api package
- Submodules
- galaxy.webapps.tool_shed.app module
- galaxy.webapps.tool_shed.buildapp module
- galaxy.webapps.tool_shed.config module
- Subpackages
Submodules¶
galaxy.webapps.config_manage module¶
-
class
galaxy.webapps.config_manage.
App
(config_paths, default_port, expected_app_factories, destination, schema_path, uwsgi_module)¶ Bases:
tuple
-
app_name
¶
-
config_paths
¶ Alias for field number 0
-
default_port
¶ Alias for field number 1
-
destination
¶ Alias for field number 3
-
expected_app_factories
¶ Alias for field number 2
-
sample_destination
¶
-
schema
¶
-
schema_path
¶ Alias for field number 4
-
uwsgi_module
¶ Alias for field number 5
-
-
class
galaxy.webapps.config_manage.
OptionValue
(name, value, option)¶ Bases:
tuple
-
name
¶ Alias for field number 0
-
option
¶ Alias for field number 2
-
value
¶ Alias for field number 1
-
galaxy.webapps.util module¶
-
exception
galaxy.webapps.util.
MiddlewareWrapUnsupported
[source]¶ Bases:
exceptions.Exception
-
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 :exception:`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.web.framework.webapp.WebApplication
subclass) – application to wrap - stack (
galaxy.web.stack.ApplicationStack
subclass) – instance of application stack implementing allowed_middleware() method - wrap (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.
- app (