MCPcopy
hub / github.com/pallets/werkzeug / url_for

Function url_for

examples/couchy/utils.py:38–39  ·  view source on GitHub ↗
(endpoint, _external=False, **values)

Source from the content-addressed store, hash-verified

36
37
38def url_for(endpoint, _external=False, **values):
39 return local.url_adapter.build(endpoint, values, force_external=_external)
40
41
42jinja_env.globals["url_for"] = url_for

Callers 4

previousMethod · 0.70
nextMethod · 0.70
short_urlMethod · 0.70
newFunction · 0.70

Calls 1

buildMethod · 0.45

Tested by

no test coverage detected