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

Function _eval_annotation

IPython/core/guarded_eval.py:1323–1331  ·  view source on GitHub ↗
(
    annotation: str,
    context: EvaluationContext,
)

Source from the content-addressed store, hash-verified

1321
1322
1323def _eval_annotation(
1324 annotation: str,
1325 context: EvaluationContext,
1326):
1327 return (
1328 _eval_node_name(annotation, context)
1329 if isinstance(annotation, str)
1330 else annotation
1331 )
1332
1333
1334class _GetItemDuck(dict):

Callers 1

_resolve_annotationFunction · 0.85

Calls 1

_eval_node_nameFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…