redis-py
redis-py copied to clipboard
HTTP based Python Redis Client for Serverless and Edge Functions
with redis I used `except redis.RedisError as e:` how can I do the same but with `upstash_redis`? If I use `except Redis.RedisError as e:` I get: `AttributeError: type object 'Redis'...
I am attempting to replace the standard Redis client with Upstash Redis. However, I am unsure if this is feasible because the standard Redis client allows binary data as input...
In `sync_execute`, commands are executed by making requests to the Upstash REST API [like this...]( https://github.com/upstash/redis-python/blob/5fd770bd584919b7306d9af54d0ac975b9c39729/upstash_redis/http.py#L129) ```python3 response = session.post(url, headers=headers, json=command).json() ``` ...where `session` is a `requests.Session` instance. As...