summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Async Connection: Allow `PubSub.run()` without previous `subscribe()` (#2148)Kristján Valur Jónsson2022-05-022-3/+45
|
* Enable DEBUG and MODULE commands in redis 7 docker images (#2158)dvora-h2022-05-021-0/+4
|
* Fix incorrect return annotation in asyncio.lock (#2155)Jelle Zijlstra2022-05-021-3/+3
| | | | | NoReturn should be used only when the function never returns. In this case, the awaitable returns None if releasing the lock succeeds, so `Awaitable[None]` is right. Noticed this while reviewing python/typeshed#7676
* Implemented LATENCY HISTOGRAM by always throwing NotImplementedError (#2147)dvora-h2022-05-022-0/+14
| | | Co-authored-by: Chayim <chayim@users.noreply.github.com>
* Rename 'update_supported_erros' to 'update_supported_errors' in Retry module ↵Jean Lopin2022-05-022-3/+3
| | | | (#2144)
* Minor cleanups in commands/cluster.py (#2094)Binbin2022-04-281-4/+3
|
* Add async supoort for SEARCH commands (#2096)dvora-h2022-04-2810-5/+6865
| | | | | | | | | | | | | * Add async supoort for SEARCH commands * linters * linters * linters * linters * linters
* `Retry()`: Support negative `retries` value (#2110)Kristján Valur Jónsson2022-04-285-2/+36
| | | | | | | * Support negative `retries` value * Add unit test * Add unittest for blocking api
* fix execute_command() determine nodes error when no key command (#2097)suxb2012022-04-281-1/+4
|
* Update xtrim type annotation (#2093)Rich Li2022-04-281-1/+1
|
* Fix incorrect return statement in auth (#2086) (#2092)Kamyab Taghizadeh2022-04-283-3/+20
|
* Add support for MODULE LOADEX (#2146)dvora-h2022-04-272-0/+33
|
* INFO - add support for taking multiple section arguments (#2145)dvora-h2022-04-272-2/+12
| | | | | * add support for taking multiple section arguments * skip test
* support set multi parameters (#2143)dvora-h2022-04-272-2/+18
|
* support get multi parameters (#2142)dvora-h2022-04-272-2/+10
|
* Add support for COMMAND GETKEYSANDFLAGS (#2141)dvora-h2022-04-272-0/+17
| | | Co-authored-by: Chayim <chayim@users.noreply.github.com>
* Update FUNCTION LOAD changes (#2139)dvora-h2022-04-273-44/+44
|
* Support CASESENSITIVE for TAG fields (#2112)Avital Fine2022-04-252-15/+49
| | | | | * Support CASESENSITIVE for TAG fields * add wait fot index + update all the callings to use getattr() instead of the string "idx"
* Fix typing in getex command (#2088)Andrew Chen Wang2022-04-181-1/+1
|
* Adding (experimental) python 3.11 CI (#1991)Chayim2022-04-133-5/+18
|
* Async tests for redis commands, json, bloom, timeseries (#2087)dvora-h2022-04-077-2/+4991
| | | | | | | | | | | | | | | | | | | | | | | | | * test async commands * test async json commands * test async timeseries commands * test async bloom commands * linters * linters * skip on cluster * linters * linters * isort * flynt * remove print
* v4.2.2 (#2084)v4.2.2dvora-h2022-04-041-1/+1
|
* Extended "CLUSTER NODES" parser to support special slot entries (importing, ↵Bar Shaul2022-04-042-5/+65
| | | | | | | migrating). (#2080) See https://redis.io/commands/cluster-nodes/#special-slot-entries Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
* fix asynic/client.py's import (#2079)wwqgtxx2022-04-041-2/+2
| | | | | | | * fix asynic/client.py's import Lock and Retry should be from redis.asyncio * for code linters
* always clear reference to closed reader/writer (#2077)Bea Steers2022-04-042-2/+4
| | | | | * always clear reference to reader/writer * add #2065 to changes
* Fix disable decode for dump command on asyncio (#2070)Mason2022-04-041-1/+1
| | | Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
* Cluster commands linkdocs (#2069)Binbin2022-04-042-263/+348
| | | | | | | | | | | | | | * 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 (#2068)dvora-h2022-04-042-0/+25
| | | | | * Add support for BIT|BYTE option * linters
* commands/core.py: Clarify bit type (#2078)Dustin Oprea2022-04-041-2/+2
| | | Calling it 'boolean' is misleading in the context of Python.
* Clean up test supoort enterprise environments (#2082)dvora-h2022-04-048-8/+84
| | | | | * skip tests on enterprise * delete dping implementation
* Vector similarity search example (#2083)dvora-h2022-04-042-0/+108
| | | | | * copy example * fix
* Fix search query with params tests (#2076)dvora-h2022-03-311-4/+5
|
* v4.2.1 (#2074)v4.2.1dvora-h2022-03-311-1/+1
|
* Fix black (#2075)dvora-h2022-03-311-0/+1
| | | | | * add click to dependencies * typo
* Add dialect support for RediSearch queries (#2071)dvora-h2022-03-312-0/+57
| | | | | | | * Add dialect support for RediSearch queries * type hints Co-authored-by: Chayim <chayim@users.noreply.github.com>
* Add support for CLUSTER MYID (#2063)Binbin2022-03-312-0/+16
| | | Co-authored-by: enjoy-binbin <binbin.zhu@tenclass.com>
* Make typing_extensions conditional to Python < 3.8 (#2062)Michał Górny2022-03-312-2/+2
| | | | | All the typing features used by redis-py are available in Python 3.8+, so typing_extensions is not used at all in newer versions of Python. Adjust the dependencies accordingly.
* v4.2.0 (#2059)v4.2.0dvora-h2022-03-231-1/+1
|
* Support for Vector Fields for Vector Similarity Search (#2041)Avital Fine2022-03-232-6/+111
| | | | | | | | | | | | | | | | | | | | | | | * 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] Fix scan command cursors & Fix scan_iter (#2054)Utkarsh Gupta2022-03-234-21/+96
| | | | | | | * 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>
* Remove verbose logging from cluster initializers (#2055)Joni Nevalainen2022-03-232-4/+1
|
* Mark tests for redis-stack (#2052)dvora-h2022-03-164-67/+81
| | | | | * mark tests for redis-stack * linters
* v4.2.0rc3 (#2051)v4.2.0rc3dvora-h2022-03-141-1/+1
| | | Co-authored-by: Chayim <chayim@users.noreply.github.com>
* Add support for SORT_RO (#1858)dvora-h2022-03-142-0/+43
| | | | | | | | | * add sort_ro * mark test as onlynon cluster * delete mark test as onlynoncluster * skip test
* fix TypeError (#2050)dvora-h2022-03-142-0/+5
|
* Add support for SEARCH commands in cluster (#2042)dvora-h2022-03-143-37/+68
| | | | | | | * Add support for SEARCH commands in cluster * delete json tests mark & list search commands * linters
* Add support for PEXPIREAT's options (#2027)dogukanteber2022-03-142-5/+63
| | | | | | | | * 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 (#2026)dogukanteber2022-03-142-5/+56
| | | | | | | | | * 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 (#2024)dogukanteber2022-03-142-4/+67
| | | | | | | | | | | | | | * 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 (#2002)dogukanteber2022-03-142-4/+55
| | | | | | | | | | | | | * 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>