get_argument
- app.util.helpers.generics.get_argument(cls: GenericAlias, param: ParamType) ArgType [source]
Return the raw type argument bound to param for cls.
- Raises:
GenericsError – If param cannot be resolved on cls.
- Parameters:
cls (GenericAlias)
param (ParamType)
- Return type:
ArgType