MCPcopy
hub / github.com/encode/starlette / get_template

Method get_template

starlette/templating.py:114–115  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

112 env.globals.setdefault("url_for", url_for)
113
114 def get_template(self, name: str) -> jinja2.Template:
115 return self.env.get_template(name)
116
117 def TemplateResponse(
118 self,

Callers 3

TemplateResponseMethod · 0.95

Calls

no outgoing calls

Tested by 2