get_parent_argument_infos
- app.util.helpers.generics.get_parent_argument_infos(cls: type | GenericAlias, parent: type, param: ParamType, *, fail: bool = True) Sequence[ArgumentInfo] [source]
Return the cached sequence of argument bindings from cls to parent.
Results are cached via
functools.lru_cache()
withLRU_CACHE_MAXSIZE
so the inheritance chain is walked only once per parameter combination.- Raises:
GenericsError – If fail and the inheritance chain or parameter cannot be resolved.
- Parameters:
- Return type: