rberga06.utils.types.AttrFunc#

class rberga06.utils.types.AttrFunc(func: Callable[[str], _T], /)#

Bases: Generic[_T]

Similar to a (str, ) -> _T function but called via attribute access instead of (…).

__init__(func: Callable[[str], _T], /) None#

Methods

__init__(func, /)