8.2.10.3.3. Application

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

Methods

__delattr__

Implement delattr(self, name).

__dir__

Default dir() implementation.

__eq__

Return self==value.

__format__

Default object formatter.

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__getstate__

Helper for pickle.

__gt__

Return self>value.

__hash__

Return hash(self).

__init__

__init_subclass__

This method is called when a class is subclassed.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__new__

__reduce__

Helper for pickle.

__reduce_ex__

Helper for pickle.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__

Size of object in memory, in bytes.

__str__

Return str(self).

__subclasshook__

Abstract classes can override this to customize issubclass().

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]

Attributes

__annotations__

__dict__

__doc__

__module__

__weakref__

list of weak references to the object

__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.

load()[source]
__annotations__ = {}
__doc__ = None
__module__ = 'schedula.utils.form.gapp'