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

Method __call__

src/flask/app.py:1529–1536  ·  view source on GitHub ↗

The WSGI server calls the Flask application object as the WSGI application. This calls :meth:`wsgi_app`, which can be wrapped to apply middleware.

(
        self, environ: WSGIEnvironment, start_response: StartResponse
    )

Source from the content-addressed store, hash-verified

1527 ctx.pop(error)
1528
1529 def __call__(
1530 self, environ: WSGIEnvironment, start_response: StartResponse
1531 ) -> cabc.Iterable[bytes]:
1532 """The WSGI server calls the Flask application object as the
1533 WSGI application. This calls :meth:`wsgi_app`, which can be
1534 wrapped to apply middleware.
1535 """
1536 return self.wsgi_app(environ, start_response)

Callers

nothing calls this directly

Calls 1

wsgi_appMethod · 0.95

Tested by

no test coverage detected