MCPcopy Create free account
hub / github.com/StackStorm/st2 / __init__

Method __init__

st2common/st2common/router.py:219–228  ·  view source on GitHub ↗
(self, arguments=None, debug=False, auth=True, is_gunicorn=True)

Source from the content-addressed store, hash-verified

217
218class Router(object):
219 def __init__(self, arguments=None, debug=False, auth=True, is_gunicorn=True):
220 self.debug = debug
221 self.auth = auth
222 self.is_gunicorn = is_gunicorn
223
224 self.arguments = arguments or {}
225
226 self.spec = {}
227 self.spec_resolver = None
228 self.routes = routes.Mapper()
229
230 def add_spec(self, spec, transforms):
231 info = spec.get("info", {})

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected