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

Method __init__

examples/coolmagic/utils.py:99–104  ·  view source on GitHub ↗
(self, template_name, **values)

Source from the content-addressed store, hash-verified

97 """
98
99 def __init__(self, template_name, **values):
100 from coolmagic import helpers
101
102 values.update(request=local.request, h=helpers)
103 template = template_env.get_template(template_name)
104 Response.__init__(self, template.render(values))

Callers

nothing calls this directly

Calls 3

renderMethod · 0.80
updateMethod · 0.45
__init__Method · 0.45

Tested by

no test coverage detected