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

Function index

tests/test_templating.py:17–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15
16 @app.route("/")
17 def index():
18 return flask.render_template("context_template.html", value=23)
19
20 rv = client.get("/")
21 assert rv.data == b"<p>23|42"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected