Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
TemplateResponse
Method · 0.95
test_templates_autoescape
Function · 0.95
test_templates_with_directory
Function · 0.95
Calls
no outgoing calls
Tested by
2
test_templates_autoescape
Function · 0.76
test_templates_with_directory
Function · 0.76