Cache#

class Cache#

Bases: ABC

Methods Summary

delete(key)

exists(key)

get(key)

get_all()

set(key, value)

Methods Documentation

abstractmethod delete(key)#
Return type:

None

abstractmethod exists(key)#
Return type:

bool

abstractmethod get(key)#
Return type:

Optional[Any]

abstractmethod get_all()#
Return type:

list[tuple[str, Any]]

abstractmethod set(key, value)#
Return type:

None