| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
This is useful for the case where one wants to instantiate a module, knowing the back end version. The reason: behaviour may differ based on redis module versions.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
closes #1539
Part of #1546
|
|
|
|
|
| |
Adding support for ACL help
Part of #1546
|
|
|
| |
Part of #1546
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* GEOSEARCH and GEOSEARCHSTORE
* negative test
* change georadius_generic to geosearch_generic
* add documentations to the functions
* add docstring to the parser
* farest
|
|
|
| |
Part of #1546
|
|
|
| |
Part of #1546
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
| |
* Moving redis commands to a mixin
This patterns allows for the reuse of these commands across connection types, including modules that are based on this client
* splitting sentinel specific commands into the respective mixin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
* exclusive gt and lt in zadd
* docs update
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
| |
Small typo in documentation
|
| |
|
| |
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
command is always a list. If index 3 is not a list, assume Redis Enterprise and return index 4 instead
|
|
|
| |
Add support for the ABSTTL option of the RESTORE command.
|
|
|
|
|
| |
Add optional exception handler to PubSubWorkerThread
Co-authored-by: Abhimanyu Deora <adeora@drwholdings.com>
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
`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>
|