MCPcopy Create free account
hub / github.com/pallets/flask / dispatch_request

Method dispatch_request

src/flask/views.py:78–83  ·  view source on GitHub ↗

The actual view function behavior. Subclasses must override this and return a valid response. Any variables from the URL rule are passed as keyword arguments.

(self)

Source from the content-addressed store, hash-verified

76 init_every_request: t.ClassVar[bool] = True
77
78 def dispatch_request(self) -> ft.ResponseReturnValue:
79 """The actual view function behavior. Subclasses must override
80 this and return a valid response. Any variables from the URL
81 rule are passed as keyword arguments.
82 """
83 raise NotImplementedError()
84
85 @classmethod
86 def as_view(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected