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

Method __init__

tests/test_basic.py:1859–1861  ·  tests/test_basic.py::View.__init__
(self, app)

Source from the content-addressed store, hash-verified

1857def test_multi_route_class_views(app, client):
1858 class View:
1859 def __init__(self, app):
1860 app.add_url_rule(class="st">"/", class="st">"index", self.index)
1861 app.add_url_rule(class="st">"/<test>/", class="st">"index", self.index)
1862
1863 def index(self, test=class="st">"a"):
1864 return test

Callers

nothing calls this directly

Calls 1

add_url_ruleMethod · 0.45

Tested by

no test coverage detected