Comments (4)
Yep incr
not working because previously key was set not as an integer.
cache.keys_match
- that is my fault, it is working with a raw backend. There is something wrong with middleware approach
from cashews.
Thanks for the fix. If this issue will be automatically closed after merging, then I leave it as is.
from cashews.
The example in the documentation
await cache.incr("key") # -> int
can be fixed by setting an integer to the value
await cache.set(key="key", value=99, expire=60, exist=None) # -> bool
Could you please explain what is wrong with the await cache.keys_match("pattern:*")
example in your documentation?
from cashews.
A made the PR , so if you like you can review it.
Just want to remind you not use keys_match
with redis in production
from cashews.
Related Issues (20)
- Does cashews need handle `IndexError` in `handle_message` in "redis/asyncio/client.py"? HOT 3
- AttributeError: 'Redis' object has no attribute '_client' HOT 4
- "No connection available" errors with redis-py 5.0.1 HOT 3
- Middleware to add "X-From-Cache" in response header throws AttributeError HOT 1
- Unable to disable cache by providing "enable=0" or "disable=1" in cache setup HOT 4
- Improve docs HOT 1
- Templated tags with None values throw TagNotRegisteredError HOT 1
- 'cache' is not declared in __all__ HOT 2
- Provision to skip caching immediately if not able to make connection with Redis HOT 4
- Not working with GCP MemmoryStore (Redis) - unknown command 'CLIENT' HOT 2
- Getting TagNotRegisteredError when my key have special characters (Using custom decorator) HOT 4
- Key template context
- TypeErrors when using CacheEtagMiddleware HOT 3
- Support for non async code ( synchronous )
- CacheEtagMiddleware breaks with redis client_side cache HOT 1
- Counter in Cache condition
- cache_control_ttl is undocumented HOT 1
- Documenting with sphinx? HOT 1
- ValueError: Duplicated timeseries in CollectorRegistry HOT 2
- early_ttl not working in combination with CacheEtagMiddleware HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cashews.