summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Zrangestore (#1521)Avital Fine2021-07-292-0/+19
|
* LT and GT support for ZADD (#1509)Chayim2021-07-292-1/+26
| | | | Co-authored-by: malinaa96 <52569986+malinaa96@users.noreply.github.com> Co-authored-by: Avital Fine <79420960+AvitalFineRedis@users.noreply.github.com>
* zrandmember (#1519)Avital Fine2021-07-252-0/+34
|
* getdel (#1514)Avital Fine2021-07-252-0/+16
|
* Implements CLIENT KILL laddr filter (#1506)Chayim2021-07-252-1/+25
|
* support for client unpause (#1512)Chayim2021-07-252-0/+10
|
* NOMKSTREAM support for XADD (#1507)Chayim2021-07-252-2/+15
|
* hrandfield (#1513)Avital Fine2021-07-222-0/+33
| | | | | | | | | | | | | * hrandfield * use mapping in hset * skip if version not fit * remove empty line * flake8 comments * new line for each comment
* client_list (#1517)Avital Fine2021-07-222-2/+16
|
* getex (#1515)Avital Fine2021-07-222-0/+66
| | | | | | | * getex * flake8 fix * comments
* Add support for COPY command new in Redis 6.2 (#1492)malinaa962021-07-202-1/+42
|
* changing unit tests to account for defaults in redis flags (#1499)Chayim2021-07-153-20/+23
| | | Co-authored-by: Andy McCurdy <andy@andymccurdy.com>
* run CI on all branchespypytestAndy McCurdy2021-06-301-2/+0
|
* daemonize the thread to see if the tests will continueAndy McCurdy2021-06-301-4/+3
|
* use github actions instead of travis-CIRoey Prat2021-06-307-29/+21
|
* Return index 4 as the command if not a listIan Bucad2021-05-181-1/+6
| | | | command is always a list. If index 3 is not a list, assume Redis Enterprise and return index 4 instead
* Remove blocking behaviour from context manager __enter__alxasfuck2021-05-121-3/+1
|
* Add support for the ABSTTL option of the RESTORE command. (#1423)Simon Charette2020-11-223-1/+25
| | | Add support for the ABSTTL option of the RESTORE command.
* Sponsored (#1418)Guy Korland2020-11-092-0/+8
| | | Add note that redis-py is sponsored by Redis Labs
* Add more documentation about encoding of strings (#1417)Felipe Machado2020-11-091-0/+6
| | | Additional docs about string encoding/decoding
* develop and test against redis version 6.0.9Roey Prat2020-10-281-1/+1
|
* Add optional exception handler to PubSubWorkerThread (#1395)Abhimanyu Deora2020-10-263-5/+56
| | | | | Add optional exception handler to PubSubWorkerThread Co-authored-by: Abhimanyu Deora <adeora@drwholdings.com>
* Note that redis-py does not support Cluster ModeBrad Solomon2020-10-121-0/+6
|
* 🕰️ Use monotonic clock in Lock (and tests)Jack Edge2020-10-122-6/+6
| | | | | | | | | | | | | | | | | During a call to `acquire()`, if the call is `blocking` and has a `blocking_timeout` set, it uses `time.time()` calls to determine when to give up attempting to acquire the lock. However, since `time.time()` is marked as "adjustable", it is possible for it to go backwards or forwards at a rate other than 1 second per second, meaning the spinloop may exit earlier or later than expected. By changing the implementation to use `time.monotonic()`, which is guaranteed to never go backwards, and not be affected by system clock updates, this potential problem is fixed. For the same reason, some time dependent lock tests have also been changed to use `time.monotonic()`.
* Update docs with info about SSL hostname validationYann2020-09-211-3/+38
|
* develop and test against redis version 6.0.8Roey Prat2020-09-151-1/+1
|
* develop and test against redis version 6.0.7Roey Prat2020-09-031-1/+1
|
* Fixing #1390 modules key in info command (#1393)2014bduck2020-09-031-1/+7
| | | | | When modules are present, INFO's response will contain a `modules` key which will be a list of dicts describing each module. Co-authored-by: jiekun.zhu <jiekun.zhu@shopee.com>
* Fix Dockerfile (cache clear of apt)ryuichi12082020-08-241-1/+3
|
* Added the ACL LOG command available in Redis 6Andy McCurdy2020-08-194-10/+126
| | | | | | | | | `acl_log()` returns a list of dictionaries, each describing a log entry. `acl_log_reset()` instructs the server to truncate the log. Thanks @2014BDuck Fixes #1307
* fix: Align from_url in utils.py to remove DB as a 2nd paramTom King2020-08-171-2/+2
|
* All values within Redis URLs are url-unquoted via default.Andy McCurdy2020-08-154-238/+126
| | | | | | | | Prior versions of redis-py supported this by specifying the ``decode_components`` flag to the ``from_url`` functions. This is now done by default and cannot be disabled. Fixes #589
* turn off the codecov/patch statusAndy McCurdy2020-08-081-0/+2
|
* codecov configAndy McCurdy2020-08-061-0/+3
|
* added codecov.ymlAndy McCurdy2020-08-061-0/+4
|
* Remove support for end-of-life Python 2.7 (#1318)Jon Dufresne2020-08-0627-654/+378
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove support for end-of-life Python 2.7 Python 2.7 is end of life. It is no longer receiving bug fixes, including for security issues. Python 2.7 went EOL on 2020-01-01. For additional details on support Python versions, see: Supported: https://devguide.python.org/#status-of-python-branches EOL: https://devguide.python.org/devcycle/#end-of-life-branches Removing support for EOL Pythons will reduce testing and maintenance resources while allowing the library to move towards a modern Python 3 style. Python 2.7 users can continue to use the previous version of redis-py. Was able to simplify the code: - Removed redis._compat module - Removed __future__ imports - Removed object from class definition (all classes are new style) - Removed long (Python 3 unified numeric types) - Removed deprecated __nonzero__ method - Use simpler Python 3 super() syntax - Use unified OSError exception - Use yield from syntax Co-authored-by: Andy McCurdy <andy@andymccurdy.com>
* Fix some documentation formattingJon Banafato2020-07-262-29/+32
| | | | | Fix a few broken links and class references, move a docstring, and fix a code block.
* changelogAndy McCurdy2020-07-221-0/+2
|
* LPOS: add new command (#1354)Paul Spooren2020-07-223-1/+69
| | | | | Added the LPOS command from Redis 6.0.6 Fixes #1353
* Dockerize (#1365)Andy McCurdy2020-07-2045-408/+636
|\ | | | | | | | | | | | | | | | | Provide a docker development and testing environment * CI (Travis) now runs tests via the same docker environment that is available to developers. * A simple Makefile has been added to make getting started easier. * `make dev` will standup the development environment. * `make test` will standup the development environment and also run the test suite. * `make clean` will remove the development environment.
| * changelogAndy McCurdy2020-07-201-0/+3
| |
| * run the codecov env by default and disable when running outside TravisAndy McCurdy2020-07-202-6/+8
| |
| * make the slowlog_get test more resilient to multiple clients being connectedAndy McCurdy2020-07-201-4/+2
| |
| * add the covreport env to the list of default envs tox runsAndy McCurdy2020-07-202-2/+1
| |
| * Remove unnecessary pytest-cov depAndrew Brookins2020-07-173-2/+8
| |
| * Go back to "merge" -- -a failedAndrew Brookins2020-07-171-1/+2
| |
| * Use the -a flag instead of "combine"Andrew Brookins2020-07-171-2/+1
| |
| * Attempt to combine coverage filesAndrew Brookins2020-07-171-1/+3
| |
| * Try running codecov from toxAndrew Brookins2020-07-174-5/+18
| |
| * debugAndy McCurdy2020-07-161-5/+0
| |