DataclassDict¶
- class kgpy.mixin.DataclassDict(data=<factory>)¶
Bases:
Copyable,Generic[KeyT,ItemT]Attributes
Methods
__init__([data])copy()- rtype
typing.TypeVar(CopyableT, bound= Copyable)
- rtype
typing.TypeVar(CopyableT, bound= Copyable)
Inheritance Diagram
- copy()¶
- Return type
typing.TypeVar(CopyableT, bound= Copyable)- Parameters
self (CopyableT) –
- copy_shallow()¶
- Return type
typing.TypeVar(CopyableT, bound= Copyable)- Parameters
self (CopyableT) –
-
data:
typing.Dict[typing.TypeVar(KeyT),typing.TypeVar(ItemT)]¶