ID EN
Inspect

get_annotations

Python 3.11

Compute the annotations dict for an object.

Syntax

PYTHON
inspect.get_annotations(obj, *, globals=None, locals=None, eval_str=False)

See Also

TypeError eval() eval() eval() eval() eval() eval() obj.__globals__