summaryrefslogtreecommitdiff
path: root/redis/client.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | | 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
| | | |
| * | | Adding an option to the SHUTDOWN command so NOSAVE can be passed in.Daniel Williams2018-10-191-2/+5
| |/ /
* | | Merge pull request #1064 from andymccurdy/migrateAndy McCurdy2018-11-131-0/+35
|\ \ \ | | | | | | | | add migrate command
| * | | Token.get_token for literalsmigrateAndy McCurdy2018-11-121-4/+4
| | | |
| * | | add migrate commandAndy McCurdy2018-11-121-0/+35
| | | |
* | | | Merge pull request #1057 from RoeyPrat/roey-client_pauseAndy McCurdy2018-11-131-1/+24
|\ \ \ \ | | | | | | | | | | CLIENT PAUSE and type argument in client_list
| * | | | pep8 fixesAndy McCurdy2018-11-131-3/+4
| | | | |
| * | | | Normalizes type to lowercase in client_list()Itamar Haber2018-11-131-1/+1
| | | | | | | | | | | | | | | I know @RoeyPrat has a lot on his plate atm so taking some liberty here.
| * | | | Implements type argument in client_listRoey Prat2018-11-071-4/+13
| | | | |
| * | | | Implements CLIENT PAUSERoey Prat2018-11-071-0/+13
| | | | |
* | | | | Merge pull request #1019 from krishan-carbon/patch-1Andy McCurdy2018-11-131-1/+15
|\ \ \ \ \ | | | | | | | | | | | | Allow pings in PubSub
| * | | | | .Krishan Patel2018-10-281-0/+1
| | | | | |
| * | | | | .Krishan Patel2018-10-281-2/+2
| | | | | |
| * | | | | Added testKrishan Patel2018-08-131-1/+1
| | | | | |