toil.server.wsgi_app

Module Contents

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.

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

Bases: gunicorn.app.base.BaseApplication

digraph inheritance691a9efd90 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "GunicornApplication" [URL="#toil.server.wsgi_app.GunicornApplication",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An entry point to integrate a Gunicorn WSGI server in Python. To start a"]; }

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