<!-- Source: https://docs.squirro.com/en/latest/api/squirro.lib.nlp.utils.cache.Cache.html -->
# Cache

**`class Cache`**

Bases: [`ABC`](https://docs.python.org/3.11/library/abc.html#abc.ABC)

Methods SummaryMethods Documentation

**`abstractmethod delete(key)`**

Return type

[`None`](https://docs.python.org/3.11/library/constants.html#None)

**`abstractmethod exists(key)`**

Return type

[`bool`](https://docs.python.org/3.11/library/functions.html#bool)

**`abstractmethod get(key)`**

Return type

[`Optional`](https://docs.python.org/3.11/library/typing.html#typing.Optional)[[`Any`](https://docs.python.org/3.11/library/typing.html#typing.Any)]

**`abstractmethod get_all()`**

Return type

[`list`](https://docs.python.org/3.11/library/stdtypes.html#list)[[`tuple`](https://docs.python.org/3.11/library/stdtypes.html#tuple)[[`str`](https://docs.python.org/3.11/library/stdtypes.html#str), [`Any`](https://docs.python.org/3.11/library/typing.html#typing.Any)]]

**`abstractmethod set(key, value)`**

Return type

[`None`](https://docs.python.org/3.11/library/constants.html#None)
