| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'_command_packer' (#2583)
* Fix #2581 UnixDomainSocketConnection' object has no attribute '_command_packer' .
Apparently there is no end-to-end tests for Unix sockets
so automation didn't catch it. I assume that setting up
domain sockets reliably in dockerized environment is not
very trivial.
Added test for pack_command specifically.
* Figuring out why CI fails.
Locally:
" congratulations :)"
* Fix the test.
hiredis doesn't treat memoryviews differently.
|
| |
|
|
|
| |
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Connection.disconnect() (#2557)
* A failing unittest
* Do not clear the redis-reader's state when we disconnect so that it can finish reading the final message
* Test that reading a message of two chunks after a disconnect() works.
* Add Changes
* fix typos
|
|
|
| |
Co-authored-by: Anuragkillswitch <70265851+Anuragkillswitch@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Implemented pack command and pack bytes
* 1) refactored the command packer construction process
2) now hiredis.pack_bytes is the default choice. Though it's still possible to run redisrs-py (fix the flag in utils.py) or hiredis.pack_command (flag in connection.py)
* Switch to hiredis.pack_command
* Remove the rust extension module.
* 1) Introduce HIREDIS_PACK_AVAILABLE environment variable.
2) Extract serialization functionality out of Connection class.
* 1) Fix typo.
2) Add change log entry.
3) Revert the benchmark changes
* Ditch the hiredis version check for pack_command.
* Fix linter errors
* Revert version changes
* Fix linter issues
* Looks like the current redis-py version is 4.4.1
---------
Co-authored-by: Sergey Prokazov <sergey.prokazov@redis.com>
|
| |
|
|
|
|
|
| |
(#2568)
Co-authored-by: Viktor Ivanov <viktor@infogrid.io>
|
|
|
|
| |
Implement unlink() like delete() to make it work when
used in a cluster pipeline.
|
|
|
|
|
| |
* trivial typo fix
* trivial typo fix
|
| |
|
|
|
|
| |
`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>
|