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

Function render_template

examples/couchy/utils.py:45–48  ·  view source on GitHub ↗
(template, **context)

Source from the content-addressed store, hash-verified

43
44
45def render_template(template, **context):
46 return Response(
47 jinja_env.get_template(template).render(**context), mimetype="text/html"
48 )
49
50
51def validate_url(url):

Callers 4

newFunction · 0.70
displayFunction · 0.70
listFunction · 0.70
not_foundFunction · 0.70

Calls 2

ResponseClass · 0.90
renderMethod · 0.80

Tested by

no test coverage detected