summaryrefslogtreecommitdiff
path: root/redis/client.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * fix retry logic for StricRedisAaron Yang2018-08-231-1/+1
| |
* | Added a test for #1126Andy McCurdy2019-01-271-2/+2
| |
* | Merge pull request #1126 from guybe7/geohash_fixAndy McCurdy2019-01-271-1/+7
|\ \ | | | | | | GEOHASH response may contain None elements
| * | GEOHASH response may contain None elementsGuy Benoish2019-01-231-1/+7
| | |
* | | Merge branch 'master' into xreadgroup_handle_nil_fieldsAndy McCurdy2019-01-271-1/+4
|\ \ \ | |/ /
| * | Added noack option for XREADGROUPJohn T. Myers2019-01-101-1/+4
| | |
* | | Fix #1116 - trimmed stream causes exception on xreadgroup with id 0Xabier Eizmendi2019-01-101-0/+2
|/ / | | | | | | | | | | messages Signed-off-by: Xabier Eizmendi <xeizmendi@gmail.com>
* | Remove unnecessary compat shim for 'bytes'Jon Dufresne2018-12-281-1/+1
| | | | | | | | | | | | Both Python 2.7 & Python 3 have the types bytes. On Python 2.7, it is an alias for the type str, same as what was previously defined in _compat.py.
* | Encode Stream message names within XREAD and XREADGROUP responses correctlyAndy McCurdy2018-12-271-1/+1
| | | | | | | | Stream message now respect the decode_responses flag.
* | XPENDING range queries no longer allow COUNT to be infiniteAndy McCurdy2018-12-271-7/+4
| | | | | | | | | | | | | | Redis 5.0.1 and beyond require that COUNT be specified as a positive integer. Since we can't guess the maximum possible value (UULONG_MAX can vary based on server architecture), force min/max/count to be required arguments
* | ZADD correctly returns None in certain edge cases when incr=TrueAndy McCurdy2018-12-271-0/+2
| | | | | | | | | | | | | | When incr=True and xx=True and an element is specified that doesn't exist the Redis server returns None. redis-py now does this as well. Fixes #1084
* | Merge pull request #1077 from oranagra/fix_info_parsingAndy McCurdy2018-12-181-2/+6
|\ \ | | | | | | Re-fix the recently broken INFO parsing, see #1018
| * | Re-fix the recently broken INFO parsing, see #1018Oran Agra2018-11-181-2/+6
| | | | | | | | | | | | | | | The value part of the info line may contains : in many cases, most importantly an IPv6 slave address, may cause the parser to crash.
* | | Merge pull request #1098 from theodesp/client-kill-filterAndy McCurdy2018-12-171-1/+43
|\ \ \ | | | | | | | | Add client kill with filter
| * | | pep8 fixAndy McCurdy2018-12-171-2/+4
| | | |
| * | | fix missing parensAndy McCurdy2018-12-171-2/+2
| | | |
| * | | small cleanup of client_kill_filterAndy McCurdy2018-12-171-23/+21
| | | | | | | | | | | | | | | | changed skipme to a bool use a list to accumulate filter options
| * | | Code review fixesTheo Despoudis2018-12-061-29/+38
| | | | | | | | | | | | | | | | Signed-off-by: Theo Despoudis <thdespou@hotmail.com>
| * | | Fixes codestyle issuesTheo Despoudis2018-12-041-10/+12
| | | | | | | | | | | | | | | | Signed-off-by: Theo Despoudis <thdespou@hotmail.com>
| * | | Simplified key, value handling inside for-range loopTheo Despoudis2018-12-041-4/+3
| | | | | | | | | | | | | | | | Signed-off-by: Theo Despoudis <thdespou@hotmail.com>
| * | | Removed ambiguous argument handlingTheo Despoudis2018-12-041-2/+0
| | | | | | | | | | | | | | | | Signed-off-by: Theo Despoudis <thdespou@hotmail.com>
| * | | Add client kill with filterTheo Despoudis2018-12-041-1/+35
| | | | | | | | | | | | | | | | Signed-off-by: Theo Despoudis <thdespou@hotmail.com>
* | | | Fix #764 - sub-unsub-resub caused PubSub() to forget the channelMarcin RaczyƄski2018-12-171-14/+33
|/ / /
* | | Remove decoding from georadiusBo Bayles2018-11-211-13/+2
| | |
* | | Don't destroy data in GEORADIUS commandsBo Bayles2018-11-201-2/+13
|/ /
* | Fix broken asynchronous check in flushdb and flushallAndy McCurdy2018-11-151-2/+2
| | | | | | | | Fixes #1070
* | fix missing arg in exception message. thanks Keith AinsworthAndy McCurdy2018-11-141-2/+4
| | | | | | | | Fixes #559
* | saner handling of decr/incr vs decrby/incrbyAndy McCurdy2018-11-141-8/+6
| |
* | Merge pull request #578 from derek-dchu/masterAndy McCurdy2018-11-141-0/+10
|\ \ | | | | | | add 'decrby' method
| * | add 'decrby' methodDerek Hu2015-01-071-0/+10
| | |
* | | Merge pull request #925 from itamarhaber/sort_issueAndy McCurdy2018-11-141-1/+1
|\ \ \ | | | | | | | | Fixes a KeyError in empty `options` dict at sort's return
| * | | Fixes a KeyError in empty `options` dict at sort's returnItamar Haber2017-11-131-1/+1
| | |/ | |/| | | | | | | Fixes #924
* | | Properly decode cluster info in callbacksAndy McCurdy2018-11-141-0/+2
| | | | | | | | | | | | Fixes #951
* | | Merge pull request #1017 from u2mejc/issue-1016Andy McCurdy2018-11-141-1/+1
|\ \ \ | | | | | | | | Enforce ssl_cert_reqs='required' by default
| * | | Enforce ssl_cert_reqs='required' by defaultJustin Clark2018-08-071-1/+1
| |/ /
* | | EXISTS now accepts multiple keys. return the number of existing keysAndy McCurdy2018-11-141-8/+8
| | | | | | | | | | | | | | | | | | Fixes #1053 Fixes #635 Fixes #766
* | | add nx, xx, ch and incr options to ZADDAndy McCurdy2018-11-141-3/+44
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #649 Fixes #954 Fixes #638 Fixes #721 Fixes #955
* | | update shutdown error to a DataErrorAndy McCurdy2018-11-141-1/+1
| | |
* | | Merge branch 'v3-breaking-changes'Andy McCurdy2018-11-141-205/+79
|\ \ \
| * | | only support LuaLock going forwardAndy McCurdy2018-11-141-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Everyone is using Redis 2.6 or greater, right? The Lua lock implementation is so much nicer and less buggy. Fixes #1031 Fixes #902 Fixes #793 Fixes #610
| * | | all commands should be able to accept bytes or strings for key namesAndy McCurdy2018-11-141-18/+6
| | | | | | | | | | | | | | | | fixes #965
| * | | list_or_args should always create a new listAndy McCurdy2018-11-141-1/+3
| | | |
| * | | raise DataError instead of RedisError for user input problemsAndy McCurdy2018-11-141-47/+47
| | | | | | | | | | | | | | | | | | | | This should be backwards compatible since DataError is a subclass of RedisError.
| * | | fix order of zincrby args to match redis serverAndy McCurdy2018-11-141-1/+1
| | | | | | | | | | | | | | | | fixes #571
| * | | remove legacy Redis classAndy McCurdy2018-11-131-97/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | redis-py maintained backwards compatibility by keeping the old "Redis" class around for quite some time. While no doubt a convenience for folks who relied on it, the presence of both Redis and StrictRedis causes a number of support issues and general confusion. With 3.0, we're breaking a few things to make redis-py better going forward. This change removes the old Redis class. We also renamed the StrictRedis class to Redis and aliased StrictRedis to Redis. For people that have been using StrictRedis, this should not change anything. You can continue doing things as you are. People still using the legacy Redis class will need to update the argument order for the SETEX, LREM and ZADD commands. Additionally, the return values for TTL and PTTL now return the integer values -1 when a key exists but has no expire time and -2 when a key does not exist. Previously these cases returned a None value in the Redis class.
| * | | force mapping to be a single dict object on MSET, MSETNX and ZADDAndy McCurdy2018-11-131-31/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously MSET, MSETNX and ZADD accepted multiple ways to specify the mapping of keys to values including via **kwargs. This turned out to be a poor choice. As Redis evolved and added additional options to the ZADD command, these options couldn't be specified in redis-py without possible element name conflictd. This fixes that going forward and makes the commands simpler.
* | | | Merge pull request #1042 from dwilliams-kenzan/masterAndy McCurdy2018-11-141-3/+15
|\ \ \ \ | |/ / / |/| | | Adding a NOSAVE option to the SHUTDOWN command
| * | | Following the 80 column limit.Daniel Williams2018-11-141-3/+5
| | | |
| * | | Updating based on feedback from the pull request.Daniel Williams2018-11-141-5/+12
| | | |
| * | | Changed to a boolean argument.Daniel Williams2018-10-191-3/+3
| | | |