summaryrefslogtreecommitdiff
path: root/redis/client.py
Commit message (Collapse)AuthorAgeFilesLines
* remove Token class in favor of bytestringremove_tokenAndy McCurdy2019-05-281-79/+81
| | | | | | | The Token class was needed when supporting Python 2.6. Now that we've dropped support for 2.6, we don't need it anymore. Fixes #1066
* add tests for encoding issues and fix bugs foundAndy McCurdy2019-05-261-1/+1
|
* monitor command now has full command text. test suite improvedAndy McCurdy2019-05-261-4/+8
|
* Merge branch 'master' into monitorAndy McCurdy2019-05-261-2/+4
|\
| * Merge pull request #1152 from aachurin/masterAndy McCurdy2019-04-291-2/+4
| |\ | | | | | | Fix for https://github.com/andymccurdy/redis-py/issues/1135
| | * Update client.pyaachurin2019-03-161-2/+4
| | | | | | | | | Fix for https://github.com/andymccurdy/redis-py/issues/1135
* | | Merge branch 'pr/1033' into monitorAndy McCurdy2019-04-251-0/+49
|\ \ \ | |/ / |/| |
| * | Added support for the monitor command.Doug Kisabaka2019-02-251-0/+49
| |/
* | Fix PubSubWorkerThread race conditionAndy McCurdy2019-04-181-13/+8
|/ | | | | | | | | | | | Resolves a race condition found in the PubSubWorkerThread. Prior to this change is was possible to receive the server's resonse to an unsubscribe message prior to the channel/pattern being added to the pending_unsubscribe set. This also improves PubSubWorkerThread.stop so that the run function is stopped immediately after the next iteration. fixes #1150
* Merge pull request #1023 from ycraaron/1022-fix-retry-logicAndy McCurdy2019-01-271-2/+4
|\ | | | | 1022: Fix retry logic for StricRedis and PubSub
| * put not outside of the parenthesesAaron Yang2018-09-021-2/+2
| |
| * fix retry for PubSubAaron Yang2018-08-231-1/+2
| |
| * pep8Aaron Yang2018-08-231-1/+2
| |
| * 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