MCPcopy Index your code
hub / github.com/nodejs/node / from_module_dict

Method from_module_dict

tools/inspector_protocol/jinja2/environment.py:962–968  ·  view source on GitHub ↗

Creates a template object from a module. This is used by the module loader to create a template object. .. versionadded:: 2.4

(cls, environment, module_dict, globals)

Source from the content-addressed store, hash-verified

960
961 @classmethod
962 def from_module_dict(cls, environment, module_dict, globals):
963 """Creates a template object from a module. This is used by the
964 module loader to create a template object.
965
966 .. versionadded:: 2.4
967 """
968 return cls._from_namespace(environment, module_dict, globals)
969
970 @classmethod
971 def _from_namespace(cls, environment, namespace, globals):

Callers 1

loadMethod · 0.45

Calls 1

_from_namespaceMethod · 0.45

Tested by

no test coverage detected