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

Method as_wsgi

st2common/st2common/router.py:746–752  ·  view source on GitHub ↗

Converts WSGI request to webob.Request and initiates the response returned by controller.

(self, environ, start_response)

Source from the content-addressed store, hash-verified

744 return resp
745
746 def as_wsgi(self, environ, start_response):
747 """
748 Converts WSGI request to webob.Request and initiates the response returned by controller.
749 """
750 req = Request(environ)
751 resp = self(req)
752 return resp(environ, start_response)
753
754 def _get_model_instance(self, model_cls, data):
755 try:

Callers

nothing calls this directly

Calls 1

RequestClass · 0.85

Tested by

no test coverage detected