Skip to main content

internal.types.tuple

Standard library Module View source
class FixedDict
@extend
class FixedDict[_KeysId, T]
Methods 4
keys
keys(self: Self)
values
values(self: Self)
items
items(self: Self)
get
get(self: Self, key: str, default = None)
get[key: Literal[str]](self: Self, default = None)
Special methods 6
__len__
__len__(self: Self)
__bool__
__bool__(self: Self)
__iter__
__iter__(self: Self)
__getitem__
__getitem__(self: Self, key: str)
__getitem__[key: Literal[str]](self: Self)
__contains__
__contains__(self: Self, key: str)
__contains__[key: Literal[str]](self: Self) -> Literal[bool]
__repr__
__repr__(self: Self)