MCPcopy
hub / github.com/pallets/flask / __call__

Method __call__

tests/test_basic.py:296–298  ·  view source on GitHub ↗
(self, environ, start_response)

Source from the content-addressed store, hash-verified

294 self.prefix = prefix
295
296 def __call__(self, environ, start_response):
297 environ["SCRIPT_NAME"] = self.prefix
298 return self.app(environ, start_response)
299
300 app.wsgi_app = PrefixPathMiddleware(app.wsgi_app, "/bar")
301 app.config.update(APPLICATION_ROOT="/bar")

Callers

nothing calls this directly

Calls 1

appMethod · 0.45

Tested by

no test coverage detected