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.
galaxy.webapps.reports package
The Galaxy Reports application.
- galaxy.webapps.reports.url_for(*args, **kwargs) str
Tries to resolve the URL using the routes module.
This only works in a WSGI app so a deprecation message is returned when running an ASGI app.
- galaxy.webapps.reports.expose(func)[source]
Decorator: mark a function as ‘exposed’ and thus web accessible
Subpackages
- galaxy.webapps.reports.api package
- galaxy.webapps.reports.controllers package
- Submodules
- galaxy.webapps.reports.controllers.history module
- galaxy.webapps.reports.controllers.home module
- galaxy.webapps.reports.controllers.jobs module
Timer
sorter()
get_spark_time()
get_curr_item()
SpecifiedDateListGrid
SpecifiedDateListGrid.JobIdColumn
SpecifiedDateListGrid.StateColumn
SpecifiedDateListGrid.ToolColumn
SpecifiedDateListGrid.CreateTimeColumn
SpecifiedDateListGrid.UserColumn
SpecifiedDateListGrid.EmailColumn
SpecifiedDateListGrid.DestinationIdColumn
SpecifiedDateListGrid.SpecifiedDateColumn
SpecifiedDateListGrid.use_async
SpecifiedDateListGrid.model_class
SpecifiedDateListGrid.title
SpecifiedDateListGrid.default_sort_key
SpecifiedDateListGrid.columns
SpecifiedDateListGrid.default_filter
SpecifiedDateListGrid.num_rows_per_page
SpecifiedDateListGrid.use_paging
SpecifiedDateListGrid.build_initial_query()
Jobs
get_job()
get_monitor_id()
- 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
SpecifiedDateListGrid
SpecifiedDateListGrid.WorkflowNameColumn
SpecifiedDateListGrid.CreateTimeColumn
SpecifiedDateListGrid.UserColumn
SpecifiedDateListGrid.EmailColumn
SpecifiedDateListGrid.SpecifiedDateColumn
SpecifiedDateListGrid.use_async
SpecifiedDateListGrid.model_class
SpecifiedDateListGrid.title
SpecifiedDateListGrid.default_sort_key
SpecifiedDateListGrid.columns
SpecifiedDateListGrid.default_filter
SpecifiedDateListGrid.num_rows_per_page
SpecifiedDateListGrid.use_paging
SpecifiedDateListGrid.build_initial_query()
Workflows
get_workflow()
Submodules
galaxy.webapps.reports.app module
- class galaxy.webapps.reports.app.UniverseApplication(**kwargs)[source]
Bases:
BasicSharedApp
Encapsulates the state of a Universe application
- application_stack: ApplicationStack
- model: SharedModelMapping
- security: IdEncodingHelper
- auth_manager: AuthManager
- quota_agent: QuotaAgent
galaxy.webapps.reports.buildapp module
Provides factory methods to assemble the Galaxy web application
- class galaxy.webapps.reports.buildapp.ReportsWebApplication(galaxy_app: MinimalApp, session_cookie: str = 'galaxysession', name: str | None = None)[source]
Bases:
WebApplication
- galaxy.webapps.reports.buildapp.add_ui_controllers(webapp, app)[source]
Search for controllers in the ‘galaxy.webapps.controllers’ module and add them to the webapp.
galaxy.webapps.reports.config module
Universe configuration builder.
- galaxy.webapps.reports.config.resolve_path(path, root)[source]
If ‘path’ is relative make absolute by prepending ‘root’
galaxy.webapps.reports.fast_app module
galaxy.webapps.reports.fast_factory module
Module containing factory class for building uvicorn app for the Galaxy Tool Shed.
Information on uvicorn, its various settings, and how to invoke it can be found at https://www.uvicorn.org/.
The Galaxy Tool Shed can be launched with uvicorn using the following invocation:
uvicorn --app-dir lib --factory galaxy.webapps.reports.fast_factory:factory
Use the environment variable GALAXY_REPORTS_CONFIG
to specify a Galaxy Reports
configuration file.
GALAXY_REPORTS_CONFIG=config/reports.yml uvicorn --app-dir lib --factory galaxy.webapps.reports.fast_factory:factory
Note
Information on additional ways to configure uvicorn can be found at https://www.uvicorn.org/.
Gunicorn is a server with more complex management options.
This factory function can be executed as a uvicorn worker managed with gunicorn with the following command-line.
gunicorn 'galaxy.webapps.reports.fast_factory:factory()' --env GALAXY_REPORTS_CONFIG=config/reports.yml --pythonpath lib -w 4 -k uvicorn.workers.UvicornWorker