ConfigsRecord#

class ConfigsRecord(configs_dict: Dict[str, int | float | str | bytes | bool | List[int] | List[float] | List[str] | List[bytes] | List[bool]] | None = None, keep_input: bool = True)[source]#

Bases : TypedDict[str, Union[int, float, str, bytes, bool, List[int], List[float], List[str], List[bytes], List[bool]]]

Configs record.

Methods

clear()

Remove all items from R.

count_bytes()

Return number of Bytes stored in this object.

get(k[,d])

d defaults to None.

items()

keys()

pop(k[,d])

If key is not found, d is returned if given, otherwise KeyError is raised.

update([E, ]**F)

Update R from dict/iterable E and F.

values()

clear() None.#

Remove all items from R.

count_bytes() int[source]#

Return number of Bytes stored in this object.

This function counts booleans as occupying 1 Byte.

get(k[, d]) R[k] if k in R, else d.#

d defaults to None.

items() a set-like object providing a view on R's items.#
keys() a set-like object providing a view on R's keys.#
pop(k[, d]) v, remove specified key and return the corresponding value.#

If key is not found, d is returned if given, otherwise KeyError is raised.

update([E, ]**F) None.#

Update R from dict/iterable E and F.

values() an object providing a view on R's values.#