pip install db1
def set_item(key: str, value: PY_TYPES_) -> None
Set the value of an item.
Arguments:
key
- The key of the item.value
- The value of the item. Refer to reference for supported value types.Raises:
db1.api.exceptions.NotFoundError
- If the item does not exist.def get_item(key: str, max_size_bytes: Optional[int] = None) -> PY_TYPES_
Get the value of an item.
Arguments: