Base application context

Module contains base application and request class.

class luna_python_matcher.app_common.base_application.MatcherBaseApp(*args, **kwargs)[source]

Base service application

requestCls

alias of MatcherRequest

class luna_python_matcher.app_common.base_application.MatcherRequest(*args, **kwargs)[source]

Matcher request

loadData(convertBytes=False)[source]
Return type:

dict

Loads request data from json / msgpack. :param convertBytes: whether to load data from msgpack with a custom hook to convert bytes

making data suitable for jsonschema-rs validation

Luna Python Matcher application context

Sanic application server.

class luna_python_matcher.app.app.PythonMatcherApp(*args, **kwargs)[source]

Python matcher application

configCls

alias of SettingsPythonMatcher

ctxCls

alias of PythonMatcherCtx

Luna Python Matcher Proxy application context

Application server.

class luna_python_matcher.app_proxy.app.PythonMatcherProxyApp(*args, **kwargs)[source]

Python matcher proxy application

configCls

alias of SettingsPythonMatcherProxy

ctxCls

alias of PythonMatcherProxyCtx