MCPcopy Index your code
hub / github.com/ipython/ipython / create_context

Function create_context

tests/test_guarded_eval.py:41–42  ·  view source on GitHub ↗
(evaluation: str, **kwargs)

Source from the content-addressed store, hash-verified

39
40
41def create_context(evaluation: str, **kwargs):
42 return EvaluationContext(locals=kwargs, globals={}, evaluation=evaluation)
43
44
45forbidden = partial(create_context, "forbidden")

Callers

nothing calls this directly

Calls 1

EvaluationContextClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…