| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
* fix expire while search
* sleep
|
|
|
|
|
|
| |
- allow passing target_nodes to pipeline commands
- move READ_COMMANDS to commands/cluster to avoid import cycle
- add types to list_or_args
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add support for NOW, FORCE and ABORT modifiers
* linters
* test
* linters
* test params
* fix tests
Co-authored-by: Chayim <chayim@users.noreply.github.com>
|
|
|
|
|
|
|
| |
* ft.profile query_params
* fix pr comments
* type hints
|
|
|
|
|
| |
* fix tests
* async
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* ClusterPipeline needs to initialize self._lock, otherwise a class instance will fail when calling get_redis_connection on the node
* fix bad lint picked up from master
* added change to CHANGES file
* force ci build again
* force ci build again
|
| |
|
|
|
|
|
|
|
| |
* Support CF.MEXISTS
* Clean bf/commands.py
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
|
|
|
|
|
|
|
| |
* force triggering pr pipeline
* fix lint error
* https://github.com/RedisJSON/RedisJSON/pull/721 no longer clears strings or boolean scalars
|
| |
|
|
|
|
|
| |
* fix incorrect test
* Fix types
|
| |
|
|
|
|
|
| |
* parse subcommands
* fix tests
|
|
|
|
|
|
|
|
|
| |
* Add support for CLUSTER SHARDS
* linters
* add docstring
* linters
|
|
|
|
|
| |
* Add support for COMMAND LIST
* style change
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Copy Cluster Client, Commands, Commands Parser, Tests for asyncio
* Async Cluster Tests: Async/Await
* Add Async RedisCluster
* cluster: use ERRORS_ALLOW_RETRY from self.__class__
* async_cluster: rework redis_connection, initialize, & close
- move redis_connection from NodesManager to ClusterNode & handle all related logic in ClusterNode class
- use Locks while initializing or closing
- in case of error, close connections instead of instantly reinitializing
- create ResourceWarning instead of manually deleting client object
- use asyncio.gather to run commands/initialize/close in parallel
- inline single use functions
- fix test_acl_log for py3.6
* async_cluster: add types
* async_cluster: add docs
* docs: update sphinx & add sphinx_autodoc_typehints
* async_cluster: move TargetNodesT to cluster module
* async_cluster/commands: inherit commands from sync class if possible
* async_cluster: add benchmark script with aredis & aioredis-cluster
* async_cluster: remove logging
* async_cluster: inline functions
* async_cluster: manage Connection instead of Redis Client
* async_cluster/commands: optimize parser
* async_cluster: use ensure_future & generators for gather
* async_conn: optimize
* async_cluster: optimize determine_slot
* async_cluster: optimize determine_nodes
* async_cluster/parser: optimize _get_moveable_keys
* async_cluster: inlined check_slots_coverage
* async_cluster: update docstrings
* async_cluster: add concurrent test & use read_response/_update_moved_slots without lock
Co-authored-by: Chayim <chayim@users.noreply.github.com>
|
|
|
|
|
|
|
| |
* 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 async supoort for SEARCH commands
* linters
* linters
* linters
* linters
* linters
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* add support for taking multiple section arguments
* skip test
|
| |
|
| |
|
|
|
| |
Co-authored-by: Chayim <chayim@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
* Support CASESENSITIVE for TAG fields
* add wait fot index + update all the callings to use getattr() instead of the string "idx"
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 dialect support for RediSearch queries
* type hints
Co-authored-by: Chayim <chayim@users.noreply.github.com>
|
|
|
| |
Co-authored-by: enjoy-binbin <binbin.zhu@tenclass.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Support Vector field in FT.CREATE command
* linters
* fix data error
* change to dic
* add type hints and docstring to constructor
* test not supported algorithm
* linters
* fix errors
* example
* delete example
Co-authored-by: dvora-h <dvora.heller@redis.com>
|
|
|
|
|
|
|
| |
* cluster/scan: fix return cursor & change default node to primaries
* cluster/scan_iter: fix iteration
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
| |
Fixed a typo in word 'sentinel'
|
|
|
|
|
|
|
|
|
| |
* cluster links
* docstring
* skip test
Co-authored-by: Chayim <chayim@users.noreply.github.com>
|