Get an item from the Redis database.
(self, key: str)
| 21 | self._redis = Redis(host=host, port=port) |
| 22 | |
| 23 | def get(self, key: str) -> Any: # noqa: ANN401 |
| 24 | """Get an item from the Redis database.""" |
| 25 | return self._redis.get(key) |
| 26 | |
| 27 | def __getitem__(self, key: str) -> Any: # noqa: ANN401 |
| 28 | """Get an item from the resource.""" |
no outgoing calls