async-rediscache icon indicating copy to clipboard operation
async-rediscache copied to clipboard

An easy-to-use asynchronous redis-backed caching utility

Results 10 async-rediscache issues
Sort by recently updated
recently updated
newest added

Adding a built-in way to add expiry to the entries added by the library would be useful for various purposes. Looking at [the following comment from @SebastiaanZ](https://github.com/SebastiaanZ/async-rediscache/issues/5#issuecomment-740671696): > As discussed...

Currently, the `update` method of RedisCache only accepts a dictionary. I think it should be able to accept keyword arguments as well, similarly to a dict. This will allow code...

Currently the cache only allows fetching of both the keys and their values at the same time through the `items` method, if the user only wants either of them they...

The `__set_name__` docstring of RedisObject reads: ``` This class MUST be created as a class attribute, otherwise it will raise exceptions whenever a method is used. This is because it...

This will need some special handling to prevent trying to decode bytes into utf8 but will allow users to serialize arbitrary data in a more compact manner.

Passing an empty dictionary to `RedisCache.update` produces a `ValueError` from inside [the aioredis dependency](https://github.com/aio-libs/aioredis/blob/db88d9610caab0a7aa290abfef684b6babc2d109/aioredis/commands/hash.py#L112). This is inconsistent with the behaviour of a Python dictionary: ```python >>> d = {"A": 1}...

I remember we ran into this issue a long time ago, before this was a separate project. Turns out it was fixed in https://github.com/aio-libs/aioredis/pull/846, but a new version of aioredis...

I have a few changes in mind, but I wanted to verify that these are changes we'd want before I potentially clutter the commit history with them. ## Generics These...

Object subcommands such as refcount are currently only available through the underlying aioredis Redis object

We need to set up a linting check suite in GitHub Actions for this project. The check suite run on commits to master and on pull requests, including those opened...