DataclassDict

class kgpy.mixin.DataclassDict(data=<factory>)

Bases: Copyable, Generic[KeyT, ItemT]

__init__(data=<factory>)
Parameters

data (Dict[KeyT, ItemT]) –

Return type

None

Attributes

data

Methods

__init__([data])

copy()

rtype

typing.TypeVar(CopyableT, bound= Copyable)

copy_shallow()

rtype

typing.TypeVar(CopyableT, bound= Copyable)

Inheritance Diagram

Inheritance diagram of kgpy.mixin.DataclassDict

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)]