This is a development version (9.14.0.dev) and may be unstable. Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.14.0.dev / IPython / core / guarded_eval / _resolve_annotation

function

IPython.core.guarded_eval:_resolve_annotation

source: /IPython/core/guarded_eval.py :1348

Signature

def   _resolve_annotation ( annotation : object | str context : EvaluationContext sig : Signature | None = None func : Callable | None = None node : ast.Call | None = None )

Summary

Resolve annotation created by user with typing module and custom objects.

Aliases

  • IPython.core.guarded_eval._resolve_annotation