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.web.stack package

Web application stack operations

galaxy.web.stack.uwsgi_postfork(x)
class galaxy.web.stack.ApplicationStack[source]

Bases: object

name = None
prohibited_middleware = frozenset([])
classmethod register_postfork_function(f, *args, **kwargs)[source]
workers()[source]
allowed_middleware(middleware)[source]
set_postfork_server_name(app)[source]
class galaxy.web.stack.UWSGIApplicationStack[source]

Bases: galaxy.web.stack.ApplicationStack

name = 'uWSGI'
prohibited_middleware = frozenset(['EvalException', 'wrap_in_static'])
postfork_functions = []
classmethod register_postfork_function(f, *args, **kwargs)[source]
workers()[source]
set_postfork_server_name(app)[source]
class galaxy.web.stack.PasteApplicationStack[source]

Bases: galaxy.web.stack.ApplicationStack

name = 'Python Paste'
class galaxy.web.stack.WeblessApplicationStack[source]

Bases: galaxy.web.stack.ApplicationStack

name = 'Webless'
galaxy.web.stack.application_stack_class()[source]

Returns the correct ApplicationStack class for the stack under which this Galaxy process is running.

galaxy.web.stack.application_stack_instance()[source]
galaxy.web.stack.register_postfork_function(f, *args, **kwargs)[source]