get_argument_info_or_none
- app.util.helpers.generics.get_argument_info_or_none(cls: GenericAlias, param: ParamType, *, check_bounds: bool = True, args: Sequence[ArgType] | None = None) ArgumentInfo | None [source]
Return the
ArgumentInfo
for param if the binding exists on cls.- Raises:
GenericsError – If param cannot be resolved on cls.
- Parameters:
- Return type:
ArgumentInfo | None