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[app.app.PythonMatcherApp, app_proxy.app.PythonMatcherProxyApp]¶
Get running app :returns: app
- Return type
Union
[PythonMatcherApp
,PythonMatcherProxyApp
]
- property config: Union[configs.configs.configs.services.python_matcher.SettingsPythonMatcher, configs.configs.configs.services.matcher_proxy.SettingsPythonMatcherProxy]¶
Get app config :returns: app config
- Return type
Union
[SettingsPythonMatcher
,SettingsPythonMatcherProxy
]