MCPcopy Create free account
hub / github.com/nodejs/node / get_all

Method get_all

tools/inspector_protocol/jinja2/runtime.py:223–232  ·  view source on GitHub ↗

Return the complete context as dict including the exported variables. For optimizations reasons this might not return an actual copy so be careful with using it.

(self)

Source from the content-addressed store, hash-verified

221 return dict((k, self.vars[k]) for k in self.exported_vars)
222
223 def get_all(self):
224 """Return the complete context as dict including the exported
225 variables. For optimizations reasons this might not return an
226 actual copy so be careful with using it.
227 """
228 if not self.vars:
229 return self.parent
230 if not self.parent:
231 return self.vars
232 return dict(self.parent, **self.vars)
233
234 @internalcode
235 def call(__self, __obj, *args, **kwargs):

Callers 5

derivedMethod · 0.95
_allMethod · 0.95
__repr__Method · 0.95
get_jinja_localsFunction · 0.45
parse_emailFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected