| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* Fix xadd allow non negative maxlen
* Update change log
---------
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add client no-touch
* Update redis/commands/core.py
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
* Update test_commands.py
Improve test_client_no_touch
* Update test_commands.py
Add async version test case
* Chore remove whitespace
Oops
---------
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
* add withscores to zrevrank
* change 0 -> 2
* fix errors
* split test
|
|
|
|
|
| |
* update return type of smismember
* use Literal instead of int
|
|
|
| |
Right now there is an annoying warning that these methods can't be awaited when using `redis.asyncio`, even tho it does work with no problems.
|
|
|
|
| |
`Union` was missing in front of `[List[StreamIdT], Tuple[StreamIdT]]` and VSCode was producing an error because of it.
After adding `Union` the type annotation is correctly identified by VSCode.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix typo (Lue -> Lua)
* run eval_ro, evalsha_ro test on redis cluster
* Add eval_ro, evalsha_ro to read only commands
* assert that commands are run in a round robin manner
Co-authored-by: zach.lee <zach.lee@sendbird.com>
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
* add latency commands
* fix tests in cluster
|
|
|
|
| |
client (#2501)
|
|
|
|
| |
Co-authored-by: Chayim <chayim@users.noreply.github.com>
Fixes https://github.com/redis/redis-py/issues/2462
|
|
|
| |
Co-authored-by: Chayim <chayim@users.noreply.github.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix timezone handling for datetime to unixtime conversions
datetime objects are supported to set expire, these can have timezones.
mktime was used to convert these to unixtime. mktime in Python however is not timezone aware, it expects the input to be UTC and redis-py did not convert the datetime timestamps to UTC before calling mktime.
This can lead to:
1) Setting incorrect expire times because the input datetime object has a timezone but is passed to mktime without converting to UTC first.
2) When the datetime timestamp is within DST, mktime fails with "OverflowError: mktime argument out of range" because UTC doesn't have DST. This depends on libc versions.
* linters
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
| |
* Changed start_id type for xautoclaim
* Added to changes
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* docs: Fix a few typos
There are small typos in:
- redis/cluster.py
- redis/commands/core.py
- redis/ocsp.py
- tests/test_cluster.py
Fixes:
- Should read `validity` rather than `valididy`.
- Should read `reinitialize` rather than `reinitilize`.
- Should read `farthest` rather than `farest`.
- Should read `commands` rather than `comamnds`.
* Update core.py
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add support for NOW, FORCE and ABORT modifiers
* linters
* test
* linters
* test params
* fix tests
Co-authored-by: Chayim <chayim@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
* Add default None for maxlen at xtrim command
* Fix linter
Co-authored-by: Mikhail Fedorov <mfgnik@yandex.team.ru>
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
|
| |
|
| |
|
|
|
|
|
| |
* fix incorrect test
* Fix types
|
|
|
|
|
| |
* Add support for COMMAND LIST
* style change
|
|
|
|
|
|
|
| |
* acl setuser
* async tests
Co-authored-by: Chayim <chayim@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* xadd
* streams redis 7
* linters
* test xinfo stream
* test xinfo stream
* test xclaim
|
|
|
| |
Co-authored-by: Chayim <chayim@users.noreply.github.com>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* add support for taking multiple section arguments
* skip test
|
| |
|
| |
|
|
|
| |
Co-authored-by: Chayim <chayim@users.noreply.github.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Link documentation for all cluster commands
Added links to the documentation in the docstrings in redis/commands/cluster.py
Part of #1712
* copy stralgo comment from commands/core.py to commands/cluster.py
* fix linters
Co-authored-by: enjoy-binbin <binbin.zhu@tenclass.com>
Co-authored-by: Chayim I. Kirshen <c@kirshen.com>
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
|
|
|
|
|
| |
* Add support for BIT|BYTE option
* linters
|
|
|
| |
Calling it 'boolean' is misleading in the context of Python.
|
|
|
|
|
|
|
|
|
| |
* add sort_ro
* mark test as onlynon cluster
* delete mark test as onlynoncluster
* skip test
|
|
|
|
|
|
|
|
| |
* Add support for PEXPIREAT's options
* add variables to the function header.
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
Co-authored-by: dvora-h <dvora.heller@redis.com>
|
|
|
|
|
|
|
|
|
| |
* Add support for PEXPIRE command's option
* Alter method arguments
* add variables to the function header
Co-authored-by: dvora-h <dvora.heller@redis.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add support for EXPIREAT command's options
* Fix linter errors
* Make changes on method arguments
* Fix linter errors
* add variables to the function header
Co-authored-by: Chayim <chayim@users.noreply.github.com>
Co-authored-by: dvora-h <dvora.heller@redis.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add support for EXPIRE command's options
* Add requested changes
* Change method arguments
* add variables to the function header
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
Co-authored-by: Chayim <chayim@users.noreply.github.com>
Co-authored-by: dvora-h <dvora.heller@redis.com>
|
|
|
|
|
| |
* add pexpiretime
* skip test
|
|
|
|
|
| |
* add expiretime
* skip test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* command docs
* Add support for AUTH (#1929)
* Add support for AUTH
* Fix linter error
* test fix
* fix test in cluster
Co-authored-by: Chayim <chayim@users.noreply.github.com>
Co-authored-by: Chayim I. Kirshen <c@kirshen.com>
Co-authored-by: dvora-h <dvora.heller@redis.com>
* Add support for JSON, TIMESERIES, BLOOM & GRAPH commands in cluster (#2032)
Co-authored-by: Chayim <chayim@users.noreply.github.com>
* Add support for HSET items (#2006)
* Add `items` parameter to `hset`
* Add test for `hset` with `items`
* Update CHANGES
* fix test_profile
Co-authored-by: Chayim <chayim@users.noreply.github.com>
Co-authored-by: dvora-h <dvora.heller@redis.com>
* Add cluster support for functions (#2016)
* cluster support for functions
* fix test_list_on_cluster mark
* fix mark
* cluster unstable url
* fix
* fix cluster url
* skip tests
* linters
* linters
* skip test
Co-authored-by: Chayim <chayim@users.noreply.github.com>
Co-authored-by: dogukanteber <47397379+dogukanteber@users.noreply.github.com>
Co-authored-by: Chayim I. Kirshen <c@kirshen.com>
Co-authored-by: Marek Czaplicki <mdczaplicki@gmail.com>
|