ID EN
Inspect

annotation

Python 3.11

The annotation for the parameter. If the parameter has no annotation, this attribute is set to Parameter.empty.

Syntax

PYTHON
annotation

See Also

Parameter.empty