Common Base handler

Base handler

Module realize base class for all handlers.

class luna_python_matcher.app_common.handlers.base_handler.CommonBaseHandler(request)[source]

Base handler for all the handlers in this project. .. attribute:: facesDBContext

Faces database context

type:

DBContext

eventsDBContext

Events database context

Type:

EventsDBContext

attributesDBContext

Attributes database context

Type:

AttributesDBContext

property app: Union[PythonMatcherApp, PythonMatcherProxyApp]

Get running app :returns: app

Return type:

Union[PythonMatcherApp, PythonMatcherProxyApp]

property config: Union[SettingsPythonMatcher, SettingsPythonMatcherProxy]

Get app config :returns: app config

Return type:

Union[SettingsPythonMatcher, SettingsPythonMatcherProxy]