7.2.10.3.2. Application

class Application(app, workers=None, timeout=0, threads=10, accesslog='-', **options)[source]

Methods

__init__

do_load_config

Loads the configuration

init

load

load_config

This method is used to load the configuration from one or several input(s).

load_default_config

reload

run

wsgi

__init__(app, workers=None, timeout=0, threads=10, accesslog='-', **options)[source]
load_config()[source]

This method is used to load the configuration from one or several input(s). Custom Command line, configuration file. You have to override this method in your class.