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

Function view

tests/test_testing.py:308–309  ·  view source on GitHub ↗
(company_id)

Source from the content-addressed store, hash-verified

306
307 @app.route("/", subdomain="<company_id>")
308 def view(company_id):
309 return company_id
310
311 with app.test_request_context():
312 url = flask.url_for("view", company_id="xxx")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected