| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
`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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Change redismod docker to redis-stack-server
* redis-stack-server
* syntax
* Update tox.ini
* fetching docker from redis repo
Co-authored-by: Chayim I. Kirshen <c@kirshen.com>
|
| |
|
|
|
|
|
|
|
| |
* Add support to BF.CARD
* Add Async test
* change to with pytest.raises
|
|
|
| |
Co-authored-by: zach.lee <zach.lee@sendbird.com>
|
|
|
| |
Co-authored-by: zach.lee <zach.lee@sendbird.com>
|
|
|
|
|
|
|
| |
* Fixed string escape and added tests
* Add Change
* Name change
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Revert "Update __init__ for issue 2215 (#2539)"
This reverts commit f14ed1fc822a88a21bbfc64e36bf8b09e5c9386c.
* Update __init__.py
ValueError must be AttributeError ofc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* PythonParser is now resumable if _stream IO is interrupted
* Add test for parse resumability
* Clear PythonParser state when connection or parsing errors occur.
* disable test for cluster mode.
* Perform "closed" check in a single place.
* Update tests
* Simplify code.
* Remove reduntant test, EOF is detected inside _readline()
* Make syncronous PythonParser restartable on error, same as HiredisParser
Fix sync PythonParser
* Add CHANGES
* isort
* Move MockStream and MockSocket into their own files
|
| |
|
| |
|
| |
|
|
|
| |
Fallback for issue https://github.com/redis/redis-py/issues/2215
|
| |
|
|
|
|
|
|
|
|
|
| |
* add dialect to aggregate request
* added test
* format
* async test
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
| |
* Fix for Unhandled exception related to self.host with unix socket
* Added change to the CHANGES file
* fix linter error
* Reformatted connection.py file
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add timeout to query class
* Add test_timeout
* fix lines
* fix format
* add test & fixes
* merge tests
* change timeout to not_a_number
* change q1 to q2
* Fix async method
|
|
|
|
|
|
|
| |
* Fix test json.arrindex
* linters
* linters
|
|
|
|
|
|
|
|
|
|
|
| |
* chore: add opentelemetry example
* chore: add opentelemetry API Jupyter notebook
* chore: use a shorter title
* chore: cleanup
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
|
|
|
| |
Co-authored-by: Chayim <chayim@users.noreply.github.com>
|
|
|
|
|
|
|
| |
* Switch to docs to Furo theme
* Add logo and year
Co-authored-by: Igor Malinovskiy <igor.malinovskiy@redis.com>
|
| |
|
|
|
|
|
| |
* add latency commands
* fix tests in cluster
|
|
|
|
| |
client (#2501)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Co-authored-by: Igor Malinovskiy <igor.malinovskiy@redis.com>
Co-authored-by: Chayim I. Kirshen <c@kirshen.com>
|
|
|
| |
Co-authored-by: Chayim <chayim@users.noreply.github.com>
|
|
|
| |
Co-authored-by: Chayim <chayim@users.noreply.github.com>
|
|
|
|
| |
(#2463)
|
|
|
|
| |
Co-authored-by: Chayim <chayim@users.noreply.github.com>
Fixes https://github.com/redis/redis-py/issues/2462
|
|
|
|
|
|
|
| |
* Fixes #2415, adds a connect step to bloom commands
* Update redismodules.rst
Apply feedback
|
|
|
|
|
|
| |
Dependencies are required for "automodule" generation.
Co-authored-by: Igor Malinovskiy <igor.malinovskiy@redis.com>
Co-authored-by: Chayim <chayim@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* build: harden pypi-publish.yaml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
* build: harden stale-issues.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
* build: harden release-drafter.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
* build: harden integration.yaml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
Signed-off-by: Alex <aleksandrosansan@gmail.com>
Co-authored-by: Chayim <chayim@users.noreply.github.com>
|
|
|
|
|
|
|
| |
(#2459)
* Change sentinel execute command to execute across the entire cluster
* Add change to CHANGES file
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Retry documentation. (#2166)
* Fixed typo.
* Update docs/retry.rst
Co-authored-by: Nermina Miller <102551568+nermiller@users.noreply.github.com>
* Update docs/retry.rst
Co-authored-by: Nermina Miller <102551568+nermiller@users.noreply.github.com>
* Update docs/retry.rst
Co-authored-by: Nermina Miller <102551568+nermiller@users.noreply.github.com>
* Update docs/retry.rst
Co-authored-by: Nermina Miller <102551568+nermiller@users.noreply.github.com>
* Update docs/retry.rst
Co-authored-by: Nermina Miller <102551568+nermiller@users.noreply.github.com>
* Update docs/retry.rst
Co-authored-by: Nermina Miller <102551568+nermiller@users.noreply.github.com>
* Update docs/retry.rst
Co-authored-by: Nermina Miller <102551568+nermiller@users.noreply.github.com>
* Update docs/retry.rst
Co-authored-by: Nermina Miller <102551568+nermiller@users.noreply.github.com>
Co-authored-by: Nermina Miller <102551568+nermiller@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Cluster&AsyncCluster: Removed handling of timeouts/connection errors within the cluster loop, fixed "cannot pickle '_thread.lock' object" bug, added client's side failover handling improvements
* Fixed linters
* Type fixes
* Added to CHANGES
* Added getter and setter for the client's retry object and added more tests
* Fixed linters
* Fixed test
* Fixed test_client_kill test
* Changed get_default_backoff to default_backoff, removed retry_on_error and connection_error_retry_attempts from RedisCluster, default retry changed to no retries
* Fixing linters
* Reverting deletion of connection_error_retry_attempts to maintain backward compatibility
* Updating retry object for existing and new connections
* Changed the default value of reinitialize_steps from 10 to 5
* fix review comments
Co-authored-by: Chayim <chayim@users.noreply.github.com>
Co-authored-by: dvora-h <dvora.heller@redis.com>
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* A CredentialsProvider class has been added to allow the user to add his own provider for password rotation
* Moved CredentialsProvider to a separate file, added type hints
* Changed username and password to properties
* Added: StaticCredentialProvider, examples, tests
Changed: CredentialsProvider to CredentialProvider
Fixed: calling AUTH only with password
* Changed private members' prefix to __
* fixed linters
* fixed auth test
* fixed credential test
* Raise an error if username or password are passed along with credential_provider
* fixing linters
* fixing test
* Changed dundered to single per side underscore
* Changed Connection class members username and password to properties to enable backward compatibility with changing the members value on existing connection.
* Reverting last commit and adding backward compatibility to 'username' and 'password' inside on_connect function
* Refactored CredentialProvider class
* Fixing tuple type to Tuple
* Fixing optional string members in UsernamePasswordCredentialProvider
* Fixed credential test
* Added credential provider support to AsyncRedis
* linters
* linters
* linters
* linters - black
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
Co-authored-by: dvora-h <dvora.heller@redis.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
| |
Co-authored-by: Chayim <chayim@users.noreply.github.com>
|
|
|
| |
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
|