summaryrefslogtreecommitdiff
path: root/redis
Commit message (Collapse)AuthorAgeFilesLines
* rename empty_errow -> empty_response as the value is the actual responseerror_defaultsAndy McCurdy2018-11-051-7/+7
|
* hook for graceful command failure, even in pipelinesAndy McCurdy2018-11-041-9/+22
| | | | allow commands that expect 1 or more keys to fail gracefully when 0 keys are provided
* Merge pull request #1051 from itamarhaber/swapdbAndy McCurdy2018-11-031-1/+5
|\ | | | | Adds SWAPDB
| * Adds SWAPDBItamar Haber2018-11-031-1/+5
| | | | | | | | | | | | No tests were added - consistent with basic operations such as FLUSHDB Signed-off-by: Itamar Haber <itamar@redislabs.com>
* | Merge branch 'master' into documents-strictredis-rediss-supportAndy McCurdy2018-11-024-47/+503
|\ \
| * \ Merge pull request #985 from mmaslowskicc/from-url-max-connectionsAndy McCurdy2018-11-021-1/+2
| |\ \ | | | | | | | | Fix parsing max_connections URL query string parameter
| | * | Fix parsing max_connections URL query string parameterMichał Masłowski2018-05-231-1/+2
| | | | | | | | | | | | | | | | | | | | Previously ConnectionPool.from_url kept it as a string, causing a 'ValueError: "max_connections" must be a positive integer'.
| * | | Merge pull request #1018 from mzalimeni/info-support-colon-keysAndy McCurdy2018-11-021-1/+2
| |\ \ \ | | | | | | | | | | Fix parsing for INFO keys that include ':'
| | * | | Fix parsing for INFO keys that include ':'Michael Zalimeni2018-08-081-1/+2
| | |/ /
| * | | Merge pull request #1035 from qingping209/handle-geodist-none-rspAndy McCurdy2018-11-021-2/+2
| |\ \ \ | | |_|/ | |/| | handle the case where geodist return -1
| | * | geodist may return none or float, response handler callback shouldqingping2092018-09-301-2/+2
| | |/ | | | | | | | | | be float_or_none
| * | Merge pull request #1047 from jdufresne/errnoAndy McCurdy2018-11-011-1/+0
| |\ \ | | | | | | | | Remove duplicate import of errno
| | * | Remove duplicate import of errnoJon Dufresne2018-11-011-1/+0
| | | |
| * | | Merge branch 'master' of github.com:andymccurdy/redis-pyAndy McCurdy2018-11-013-6/+7
| |\ \ \ | | |/ /
| | * | Prefer https:// for URLs when availableJon Dufresne2018-11-012-4/+5
| | | |
| | * | Merge pull request #1039 from jeffwidman/patch-2Andy McCurdy2018-11-012-2/+2
| | |\ \ | | | | | | | | | | "while 1" --> "while True"
| | | * | "while 1" --> "while True"Jeff Widman2018-10-112-2/+2
| | | |/ | | | | | | | | | | | | This is python, not C
| * | | added MKSTREAM option to xgroup_createAndy McCurdy2018-11-011-2/+5
| |/ /
| * | Merge pull request #1037 from itamarhaber/zpopAndy McCurdy2018-11-011-1/+65
| |\ \ | | | | | | | | Adds support for ZPOPMAX, ZPOPMIN and their respective blocking variants
| | * | PEP8's itItamar Haber2018-10-051-7/+14
| | | | | | | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
| | * | Converts score from string to floatItamar Haber2018-10-051-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
| | * | Adds BZPOPMAX and BZPOPMINItamar Haber2018-10-051-1/+41
| | | | | | | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
| | * | Adds ZPOPMAX and ZPOPMINItamar Haber2018-10-051-1/+17
| | |/ | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
| * | Merge pull request #1044 from faheel/fix-docs-formattingAndy McCurdy2018-11-011-2/+2
| |\ \ | | | | | | | | Improve formatting of docs
| | * | Add missing spaceFaheel Ahmad2018-11-011-2/+2
| | | |
| * | | guarentee consistency by mapping the keys/values with one callAndy McCurdy2018-10-311-2/+3
| |/ /
| * | explicit parsing of xclaim response with justid=TrueAndy McCurdy2018-10-311-3/+5
| | |
| * | rename start/finish and start/end args to min/max on all stream commandsAndy McCurdy2018-10-311-11/+11
| | | | | | | | | | | | | | | this is consistent with the rest of the library and is clearer terminology to the end user
| * | refactor a bunch of the tests.Andy McCurdy2018-10-311-59/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | - split out tests for each client function - alphabetize - make sure response callbacks return system info dicts with native string keys rather than byte strings. - make sure empty versions of commands that typically return a list return an empty list when streams or messages don't exist
| * | alphabetize part 2Andy McCurdy2018-10-311-31/+31
| | |
| * | fix commentAndy McCurdy2018-10-311-2/+1
| | |
| * | reorganize stream testsAndy McCurdy2018-10-311-4/+4
| | |
| * | alphabetize stream functionsAndy McCurdy2018-10-311-180/+180
| | |
| * | rename _name -> nameAndy McCurdy2018-10-311-2/+2
| | |
| * | alphabetize the callback listAndy McCurdy2018-10-311-43/+35
| | |
| * | XREAD and XREADGROUP return empty lists when the server returns no messagesRoey Prat2018-10-311-3/+3
| | |
| * | XPENDING parse response and unit testRoey Prat2018-10-311-6/+50
| | |
| * | fix XCLAIM to handle justid parameter correctlyRoey Prat2018-10-311-2/+2
| | |
| * | XCLAIM simplify argument checksRoey Prat2018-10-311-19/+22
| | |
| * | remove code duplicationRoey Prat2018-10-311-52/+0
| | |
| * | string interpolation for the error messages needs to include the positional ↵Roey Prat2018-10-311-2/+2
| | | | | | | | | | | | index
| * | XREAD and XREADGROUP should take streams as a required dict arg rather than ↵Roey Prat2018-10-311-23/+17
| | | | | | | | | | | | kwargs
| * | streams commands wrap all string literals in Token.get_tokenRoey Prat2018-10-311-14/+18
| | |
| * | allow list based iterating on XREADGROUP resultsRoey Prat2018-10-281-6/+3
| | |
| * | multi_stream_list should use nativestr for compatibilityRoey Prat2018-10-281-1/+1
| | |
| * | stream_list should reuse pairs_to_dictRoey Prat2018-10-281-9/+1
| | |
| * | XADD removing unnecessary stream_key parse functionRoey Prat2018-10-281-5/+0
| | |
| * | XCLAIM renaming param to param_value, and adding param_name to piecesRoey Prat2018-10-281-7/+7
| | |
| * | pieces.extend(pair) is slightly more efficient.Roey Prat2018-10-281-2/+1
| | |
| * | for python 2/3 compat we need isinstance to check both int and longRoey Prat2018-10-281-10/+10
| | |