| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
| |
Part of #1546
|
|
|
|
|
| |
* set in unix time
* update skip version
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Return slowlog complexity info if available
based on https://github.com/andymccurdy/redis-py/pull/622
* Add tests
Copied from https://github.com/andymccurdy/redis-py/pull/622
* address flake E306
* Trigger Build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add support to STRALDO command
* add tests
* skip if version ..
* new line
* lower case
* fix comments
* callback
* change to get
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* #1434 Added zmscore command support
* #1434 Fixed typo and doc
* #1434 Set [] as default value for members arg in zmscore func
* #1434 Set None as default value for members arg in zmscore func
* #1434 Removed default value for members arg in zmscore func
* Fixed flake8 formatting
Co-authored-by: jiekun.zhu <jiekun.zhu@shopee.com>
|
|
|
| |
* MINID and LIMIT
|
|
|
|
|
|
|
|
|
| |
* Merged new sentinel commands from #835
Thanks you @otherpirate for the contribution!
* Added an execute wrapper and tests.
The tests ensure that the function is called. Nothing more since we do not currently have enough testing support for sentinel
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* zinter
* change options in _zaggregate
* skip for previous versions
* add client function
* validate the aggregate value
* change options to get
* add more aggregate tests
* add weights guidance
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Co-authored-by: Chayim <chayim@users.noreply.github.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* zinter
* change options in _zaggregate
* skip for previous versions
* flake8
* validate the aggregate value
* invalid aggregation
* invalid aggregation
* change options to get
Co-authored-by: Chayim <chayim@users.noreply.github.com>
|
| |
|
| |
|
|
|
|
| |
Co-authored-by: malinaa96 <52569986+malinaa96@users.noreply.github.com>
Co-authored-by: Avital Fine <79420960+AvitalFineRedis@users.noreply.github.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* hrandfield
* use mapping in hset
* skip if version not fit
* remove empty line
* flake8 comments
* new line for each comment
|
| |
|
|
|
|
|
|
|
| |
* getex
* flake8 fix
* comments
|
| |
|
|
|
| |
Co-authored-by: Andy McCurdy <andy@andymccurdy.com>
|
| |
|
|
|
| |
Add support for the ABSTTL option of the RESTORE command.
|
|
|
|
|
| |
Add optional exception handler to PubSubWorkerThread
Co-authored-by: Abhimanyu Deora <adeora@drwholdings.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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()`.
|
|
|
|
|
|
|
|
|
| |
`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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Added the LPOS command from Redis 6.0.6
Fixes #1353
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|