get_parameter_info

app.util.helpers.generics.get_parameter_info(cls: type | GenericAlias, name_position_or_typevar: str | TypeVar | int) ParameterInfo[source]

Resolve name_or_typevar to a ParameterInfo.

Raises:

GenericsError – If the requested parameter is not defined on cls.

Parameters:
Return type:

ParameterInfo