ABCLookupInfo
- class app.util.helpers.abc_info.ABCLookupInfo[source]
Bases:
NamedTuple
Runtime metadata describing an ABC and its related concrete bases.
Inheritance Diagram for ABCLookupInfo
Methods
Attributes
Primary abstract base class inspected for compatibility.
All ABCs satisfied by the primary ABC through inheritance.
Return
True
when the ABC has keys.Return
True
when the ABC has values.Return
True
when the ABC describes a recursive collection, i.e. one where the value_type is the same as the ABC.Built-in concrete types that may implement the ABC.
- static __new__(_cls, abc: type[ABCType], abcs: tuple[type[ABCType], ...], possible_bases: tuple[type, ...])
Create new instance of ABCLookupInfo(abc, abcs, possible_bases)