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

Method from_obj

deps/v8/third_party/jinja2/utils.py:82–86  ·  view source on GitHub ↗
(cls, obj: F)

Source from the content-addressed store, hash-verified

80
81 @classmethod
82 def from_obj(cls, obj: F) -> t.Optional["_PassArg"]:
83 if hasattr(obj, "jinja_pass_arg"):
84 return obj.jinja_pass_arg # type: ignore
85
86 return None
87
88
89def internalcode(f: F) -> F:

Callers 6

callMethod · 0.80
decoratorFunction · 0.80
_filter_test_commonMethod · 0.80
_make_finalizeMethod · 0.80
_filter_test_commonMethod · 0.80
as_constMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected