eval_type

Evaluates a type, resolving forward references.

Signature:

def eval_type(
type_: Any,
globalns: Dict | None = None,
localns: Dict | None = None,
) -> Type:
...

Parameters:

  1. type_:

    Type
    Any
  2. globalns:

    Type
    Dict | None
    Default
    None
  3. localns:

    Type
    Dict | None
    Default
    None