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

Method __init__

tests/test_basic.py:1831–1833  ·  view source on GitHub ↗
(self, app)

Source from the content-addressed store, hash-verified

1829def test_multi_route_class_views(app, client):
1830 class View:
1831 def __init__(self, app):
1832 app.add_url_rule("/", "index", self.index)
1833 app.add_url_rule("/<test>/", "index", self.index)
1834
1835 def index(self, test="a"):
1836 return test

Callers

nothing calls this directly

Calls 1

add_url_ruleMethod · 0.45

Tested by

no test coverage detected