MCPcopy Create free account
hub / github.com/ipython/traitlets / execfile

Function execfile

traitlets/config/loader.py:80–82  ·  view source on GitHub ↗
(fname: str, glob: dict[str, Any])

Source from the content-addressed store, hash-verified

78
79
80def execfile(fname: str, glob: dict[str, Any]) -> None:
81 with open(fname, "rb") as f:
82 exec(compile(f.read(), fname, "exec"), glob, glob) # noqa: S102
83
84
85class LazyConfigValue(HasTraits):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…