MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / _get_jinja2_template_debug_info

Function _get_jinja2_template_debug_info

pydevd_plugins/jinja2_debug.py:281–289  ·  view source on GitHub ↗
(frame)

Source from the content-addressed store, hash-verified

279
280
281def _get_jinja2_template_debug_info(frame):
282 frame_globals = frame.f_globals
283
284 jinja_template = frame_globals.get("__jinja_template__")
285
286 if jinja_template is None:
287 return None
288
289 return _get_frame_lineno_mapping(jinja_template)
290
291
292def _get_frame_lineno_mapping(jinja_template):

Callers 1

Calls 2

getMethod · 0.45

Tested by

no test coverage detected