MCPcopy Create free account
hub / github.com/pallets/quart / _default_template_ctx_processor

Function _default_template_ctx_processor

src/quart/templating.py:90–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88
89
90async def _default_template_ctx_processor() -> dict[str, Any]:
91 context = {}
92 if has_app_context():
93 context["g"] = app_ctx.g
94 if has_request_context():
95 context["request"] = request_ctx.request
96 context["session"] = request_ctx.session
97 return context
98
99
100async def stream_template(

Callers

nothing calls this directly

Calls 2

has_app_contextFunction · 0.85
has_request_contextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…