galaxy Package

buildapp Module

Provides factory methods to assemble the Galaxy web application

class galaxy.webapps.galaxy.buildapp.GalaxyWebApplication(galaxy_app, session_cookie='galaxysession', name=None)[source]

Bases: galaxy.web.framework.webapp.WebApplication

galaxy.webapps.galaxy.buildapp.app_factory(global_conf, **kwargs)[source]

Return a wsgi application serving the root object

galaxy.webapps.galaxy.buildapp.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.galaxy.buildapp.pack_scripts()[source]
galaxy.webapps.galaxy.buildapp.populate_api_routes(webapp, app)[source]
galaxy.webapps.galaxy.buildapp.wrap_in_middleware(app, global_conf, **local_conf)[source]

Based on the configuration wrap app in a set of common and useful middleware.

galaxy.webapps.galaxy.buildapp.wrap_in_static(app, global_conf, plugin_frameworks=None, **local_conf)[source]