Retrieve a value from the cache by key. Args: key: The key to look up in the cache. Returns: The cached value associated with the key.
(self, key: str)
| 22 | |
| 23 | @abstractmethod |
| 24 | def get(self, key: str) -> Any: |
| 25 | """Retrieve a value from the cache by key. |
| 26 | |
| 27 | Args: |
| 28 | key: The key to look up in the cache. |
| 29 | |
| 30 | Returns: |
| 31 | The cached value associated with the key. |
| 32 | """ |
| 33 | pass |
| 34 | |
| 35 | @abstractmethod |
| 36 | def set(self, key: str, value) -> None: |
no outgoing calls