| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
* add latency commands
* fix tests in cluster
|
|
|
|
| |
client (#2501)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix special response parsing options handling
When using special response parsing options like `NEVER_DECODE` and
`EMPTY_RESPONSE`, don't pass them to the response callbacks because some
of them are not prepared for receiving named arguments.
Instead, redis-py should use them before calling the callbacks and
then discard them.
* Use kwargs instead of options
* change options to kwargs in asyncio/cluster.py/L878
Co-authored-by: Chayim <chayim@users.noreply.github.com>
Co-authored-by: dvora-h <67596500+dvora-h@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>
|
|
|
|
|
| |
* fix parse_xautoclaim
* linters
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add support for NOW, FORCE and ABORT modifiers
* linters
* test
* linters
* test params
* fix tests
Co-authored-by: Chayim <chayim@users.noreply.github.com>
|
|
|
|
|
| |
* fix tests
* async
|
| |
|
|
|
|
|
| |
* fix incorrect test
* Fix types
|
|
|
|
|
| |
* parse subcommands
* fix tests
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
* Add support for BIT|BYTE option
* linters
|
|
|
|
|
| |
* skip tests on enterprise
* delete dping implementation
|
|
|
|
|
| |
* mark tests for redis-stack
* linters
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 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 function support
* linters
* test fcall
* decode reponses for unstable_r
* linters
* fix evalsho_ro test
* fix eval_ro test
* add response callbaks
* linters
|
|
|
|
|
|
|
|
|
|
|
| |
* Add support for ACL DRYRUN
* Fix linter error
* Revert "Fix linter error"
This reverts commit aa1cf04ea7e93abedfd3a33b818f8f64b92147c4.
* Fix linter error
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unsupported hello
* add test and docstring
* linters
* fix docstring
* linters
* linters
|
|
|
|
|
|
|
| |
* unsupported failover
* add test and docstring
* fix docstring
|
|
|
|
|
|
|
|
|
| |
* unsupported auth
* unsupported-auth
* add test and docstring
* fix docstring
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add support for BLMPOP
* add type hints
* fix test
* fix comment
* fix pr comment
* delete count check
* change numkeys
* linters
* mark test as onlynoncluster
|
|
|
|
|
|
|
| |
* Add support for LMPOP
* add type hints
* fix linters
|
|
|
|
|
| |
* add sintercard
* fix pr comment
|
|
|
|
|
|
|
| |
* add zintercard
* fix pr comment
* linters
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* add bzmpop
* add comment
* fix pr comment
* fix linters
* fix pr comments
|