Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #972 from lamby/dont-assume-64-bit-server-in-tests | Andy McCurdy | 2019-01-27 | 1 | -1/+6 |
|\ | | | | | Skip 64-bit specific tests. (Closes: #899) | ||||
| * | Skip 64-bit specific tests. (Closes: #899) | Chris Lamb | 2018-11-16 | 1 | -1/+6 |
| | | | | | | | | Signed-off-by: Chris Lamb <lamby@debian.org> | ||||
* | | Added a test for #1126 | Andy McCurdy | 2019-01-27 | 1 | -2/+2 |
| | | |||||
* | | Fixes #1116 | Andy McCurdy | 2019-01-27 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into xreadgroup_handle_nil_fields | Andy McCurdy | 2019-01-27 | 1 | -0/+9 |
|\ \ | |||||
| * | | Added noack option for XREADGROUP | John T. Myers | 2019-01-10 | 1 | -0/+10 |
| | | | |||||
* | | | Fix #1116 - trimmed stream causes exception on xreadgroup with id 0 | Xabier Eizmendi | 2019-01-10 | 1 | -0/+16 |
|/ / | | | | | | | | | | | messages Signed-off-by: Xabier Eizmendi <xeizmendi@gmail.com> | ||||
* | | Encode Stream message names within XREAD and XREADGROUP responses correctly | Andy McCurdy | 2018-12-27 | 1 | -5/+5 |
| | | | | | | | | Stream message now respect the decode_responses flag. | ||||
* | | redis >= 5.0.1 changed behavior of XREADGROUP stream ID | Andy McCurdy | 2018-12-27 | 1 | -38/+25 |
| | | | | | | | | | | | | | | Redis versions 5.0.1 require messages to be read with the special ID '>' when using XREADGROUP Fixes #1073 | ||||
* | | ZADD correctly returns None in certain edge cases when incr=True | Andy McCurdy | 2018-12-27 | 1 | -0/+6 |
| | | | | | | | | | | | | | | 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 | ||||
* | | Added test case for filter | Theo Despoudis | 2018-12-08 | 1 | -0/+21 |
| | | | | | | | | Signed-off-by: Theo Despoudis <thdespou@hotmail.com> | ||||
* | | Code review fixes | Theo Despoudis | 2018-12-06 | 1 | -27/+22 |
| | | | | | | | | Signed-off-by: Theo Despoudis <thdespou@hotmail.com> | ||||
* | | Add client kill with filter | Theo Despoudis | 2018-12-04 | 1 | -0/+37 |
| | | | | | | | | Signed-off-by: Theo Despoudis <thdespou@hotmail.com> | ||||
* | | Remove decoding from georadius | Bo Bayles | 2018-11-21 | 1 | -11/+11 |
| | | |||||
* | | Don't destroy data in GEORADIUS commands | Bo Bayles | 2018-11-20 | 1 | -4/+5 |
|/ | |||||
* | saner handling of decr/incr vs decrby/incrby | Andy McCurdy | 2018-11-14 | 1 | -0/+5 |
| | |||||
* | Merge pull request #925 from itamarhaber/sort_issue | Andy McCurdy | 2018-11-14 | 1 | -0/+5 |
|\ | | | | | Fixes a KeyError in empty `options` dict at sort's return | ||||
| * | Fixes a KeyError in empty `options` dict at sort's return | Itamar Haber | 2017-11-13 | 1 | -0/+5 |
| | | | | | | | | Fixes #924 | ||||
* | | Add test to make sure geodist with a missing member returns None | Andy McCurdy | 2018-11-14 | 1 | -0/+6 |
| | | | | | | | | Fixes #939 | ||||
* | | EXISTS now accepts multiple keys. return the number of existing keys | Andy McCurdy | 2018-11-14 | 1 | -2/+4 |
| | | | | | | | | | | | | Fixes #1053 Fixes #635 Fixes #766 | ||||
* | | add nx, xx, ch and incr options to ZADD | Andy McCurdy | 2018-11-14 | 1 | -0/+34 |
| | | | | | | | | | | | | | | | | Fixes #649 Fixes #954 Fixes #638 Fixes #721 Fixes #955 | ||||
* | | fix order of zincrby args to match redis server | Andy McCurdy | 2018-11-14 | 1 | -2/+2 |
| | | | | | | | | fixes #571 | ||||
* | | remove legacy Redis class | Andy McCurdy | 2018-11-13 | 1 | -99/+97 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ZADD | Andy McCurdy | 2018-11-13 | 1 | -16/+2 |
| | | | | | | | | | | | | | | | | | | 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 #1057 from RoeyPrat/roey-client_pause | Andy McCurdy | 2018-11-13 | 1 | -0/+15 |
|\ \ | | | | | | | CLIENT PAUSE and type argument in client_list | ||||
| * | | Implements type argument in client_list | Roey Prat | 2018-11-07 | 1 | -0/+8 |
| | | | |||||
| * | | Implements CLIENT PAUSE | Roey Prat | 2018-11-07 | 1 | -0/+7 |
| | | | |||||
* | | | Adds the memory_usage and memory_purge commands | Itamar Haber | 2018-11-09 | 1 | -0/+5 |
| | | | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com> | ||||
* | | | fix stupid linter warningbitfield | Andy McCurdy | 2018-11-07 | 1 | -4/+4 |
| | | | |||||
* | | | added better overflow control and lifecycle mgmt to bitfields | Andy McCurdy | 2018-11-07 | 1 | -18/+45 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - bitfields now accept a `default_overflow` argument that sets the default overflow behavior for incrby operations - exposed an overflow() method that sets the overflow behavior for future incrby operations. this can be used in place of the overfly argument to incrby if someone prefers - clean up bitfield instance upon execution, resetting the overflow behavior back to the default provided and clearing the list of operations | ||||
* | | | support for the bitfield command thanks to Charles Leifer | Andy McCurdy | 2018-11-06 | 1 | -0/+35 |
|/ / | |||||
* | | Merge branch 'pr/916' into drop26 | Andy McCurdy | 2018-11-06 | 1 | -263/+263 |
|\ \ | |||||
| * | | Use unicode literals throughout project | Jon Dufresne | 2018-11-03 | 1 | -261/+262 |
| | | | | | | | | | | | | Remove workaround for handling unicode with older Pythons. | ||||
| * | | Use set literals instead of set([...]) | Jon Dufresne | 2018-11-03 | 1 | -34/+34 |
| | | | |||||
| * | | Remove from __future__ import with_statement | Jon Dufresne | 2018-11-03 | 1 | -1/+0 |
| | | | | | | | | | | | | All supported Python versions support the with statement. | ||||
* | | | Merge pull request #933 from yozel/master | Andy McCurdy | 2018-11-06 | 1 | -0/+15 |
|\ \ \ | | | | | | | | | Add support for UNLINK command | ||||
| * | | | Add support for UNLINK command | Yasin Ozel | 2017-12-01 | 1 | -0/+15 |
| | |/ | |/| | |||||
* | | | Merge branch 'master' into v5-client-subcommands | Andy McCurdy | 2018-11-05 | 1 | -6/+494 |
|\ \ \ | |||||
| * | | | hook for graceful command failure, even in pipelines | Andy McCurdy | 2018-11-04 | 1 | -0/+1 |
| | |/ | |/| | | | | | | | allow commands that expect 1 or more keys to fail gracefully when 0 keys are provided | ||||
| * | | added MKSTREAM option to xgroup_create | Andy McCurdy | 2018-11-01 | 1 | -0/+22 |
| | | | |||||
| * | | remove unncessary deletes at beginning of tests | Andy McCurdy | 2018-11-01 | 1 | -8/+0 |
| | | | |||||
| * | | Merge pull request #1037 from itamarhaber/zpop | Andy McCurdy | 2018-11-01 | 1 | -0/+50 |
| |\ \ | | | | | | | | | Adds support for ZPOPMAX, ZPOPMIN and their respective blocking variants | ||||
| | * | | PEP8's it | Itamar Haber | 2018-10-05 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com> | ||||
| | * | | Converts score from string to float | Itamar Haber | 2018-10-05 | 1 | -10/+10 |
| | | | | | | | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com> | ||||
| | * | | Adds BZPOPMAX and BZPOPMIN | Itamar Haber | 2018-10-05 | 1 | -0/+30 |
| | | | | | | | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com> | ||||
| | * | | Adds ZPOPMAX and ZPOPMIN | Itamar Haber | 2018-10-05 | 1 | -0/+20 |
| | |/ | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com> | ||||
| * | | fix test that breaks if other clients are connected to the redis server | Andy McCurdy | 2018-11-01 | 1 | -4/+3 |
| | | | |||||
| * | | python2 compat | Andy McCurdy | 2018-10-31 | 1 | -3/+3 |
| | | | |||||
| * | | python 2 likes binary regex hints specified as 'br' rather than 'rb' | Andy McCurdy | 2018-10-31 | 1 | -1/+1 |
| | | | |||||
| * | | rename start/finish and start/end args to min/max on all stream commands | Andy McCurdy | 2018-10-31 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | this is consistent with the rest of the library and is clearer terminology to the end user |