MCPcopy
hub / github.com/pallets/werkzeug / runapp

Method runapp

src/werkzeug/middleware/profiler.py:114–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112 return response_body.append
113
114 def runapp() -> None:
115 app_iter = self._app(
116 environ, t.cast("StartResponse", catching_start_response)
117 )
118 response_body.extend(app_iter)
119
120 if hasattr(app_iter, "close"):
121 app_iter.close()
122
123 profile = Profile()
124 start = time.time()

Callers

nothing calls this directly

Calls 2

extendMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected