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

Method dispatch_request

tests/test_views.py:255–256  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

253 n += 1
254
255 def dispatch_request(self):
256 return str(n)
257
258 app.add_url_rule("/", view_func=CountInit.as_view("index"))
259 assert client.get("/").data == b"1"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected