toil.server.wsgi_app

Classes

GunicornApplication

An entry point to integrate a Gunicorn WSGI server in Python. To start a

Functions

run_app(app[, options])

Run a Gunicorn WSGI server.

Module Contents

class toil.server.wsgi_app.GunicornApplication(app, options=None)

Bases: gunicorn.app.base.BaseApplication

An entry point to integrate a Gunicorn WSGI server in Python. To start a WSGI application with callable app, run the following code:

WSGIApplication(app, options={
    ...
}).run()

For more details, see: https://docs.gunicorn.org/en/latest/custom.html

Parameters:
  • app (object)

  • options (Optional[Dict[str, Any]])

init(*args)
Parameters:

args (Any)

Return type:

None

load_config()
Return type:

None

load()
Return type:

object

toil.server.wsgi_app.run_app(app, options=None)

Run a Gunicorn WSGI server.

Parameters:
  • app (object)

  • options (Optional[Dict[str, Any]])

Return type:

None