| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
|
|
|
| |
Co-authored-by: Nick Gerow <nick.gerow@enlightedinc.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* update vss docs
* add embeddings creation and storage examples
* update based on feedback
* fix version and link
* include more realistic search examples and clean up indices
* completely remove initial cap reference
---------
Co-authored-by: Chayim <chayim@users.noreply.github.com>
|
|
|
| |
When creating index, fields should be passed inside an iterable (e.g. list or tuple)
|
| |
|
|
|
| |
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
* trivial typo fix
* trivial typo fix
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
| |
* Switch to docs to Furo theme
* Add logo and year
Co-authored-by: Igor Malinovskiy <igor.malinovskiy@redis.com>
|
|
|
|
| |
Co-authored-by: Igor Malinovskiy <igor.malinovskiy@redis.com>
Co-authored-by: Chayim I. Kirshen <c@kirshen.com>
|
|
|
|
|
|
|
| |
* Fixes #2415, adds a connect step to bloom commands
* Update redismodules.rst
Apply feedback
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
|
|
| |
Parentheses were not closed
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
* cleaning up the readme and moving docs into readthedocs
* examples at the end as per pr comments
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* DOC add timeseries example
* DOC add timeseries examples
* Apply suggestions
* Fix typo
Detention period => Retention period
Co-authored-by: Gauthier Imbert <gauthier@PC17>
|
|
|
|
|
|
|
| |
* redis stream example
* redis stream example on docs/examples.rst
Co-authored-by: pedro.frazao <perl.pf@netcf.org>
|
|
|
|
|
|
|
| |
* DOC add pipeline examples
* Add pipeline notebook to the example.rst file
* retrigger checks
|
|
|
| |
The `retention_msecs` takes a millisecond value not a seconds value, having checked and tested redis/commands/timeseries/commands.py is not adjusting seconds to milliseconds it is passing it through as is, therefore the statement in this doc is incorrect as it creates a time series with a retention period of 5 milliseconds not 5 seconds as stated.
|
|
|
|
| |
- move response_callbacks kwarg inside __init__ to hide it from docs
- use :member-order: bysource to group similar commands together
|
|
|
| |
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
* copy example
* fix
|
|
|
|
| |
Co-authored-by: Chayim I. Kirshen <c@kirshen.com>
Co-authored-by: dvora-h <dvora.heller@redis.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add type hints for json commands
* Change json.clear test multi to be up to date with redisjson (#1922)
* fix json clear test
* fix json clear test
* Add support for BZMPOP (#1851)
* add bzmpop
* add comment
* fix pr comment
* fix linters
* fix pr comments
* add client no-evict (#1856)
* Add support for ZINTERCARD (#1857)
* add zintercard
* fix pr comment
* linters
* Add support for EVAL_RO (#1862)
* add sort_ro
* mark test as onlynon cluster
* delete mark test as onlynoncluster
* add eval_ro
* fix linters
* delete sort_ro
* fix pr comment
* add type hints
* add type hints
* linters
* Add support for EVALSHA_RO (#1863)
* add evalsha-ro
* fix pr comment
* add type hints
* add type hints
* Fix naming conventions (#1872)
* fix naming convention
* fix worng changes
* fix naming convention in rootPath
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Co-authored-by: Chayim I. Kirshen <c@kirshen.com>
|
|
|
| |
Updated links to RediSearch, RedisGraph and RedisBloom sites as they were all pointing to RedisJSON instead.
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
* 4.0.0
|
| |
|
|
|
|
|
| |
* Fixing the package to include commands.
Fixes #1645
|
|
|
| |
Rename "Redis Labs" to "Redis" in the README docs
|
|
|
| |
Add note that redis-py is sponsored by Redis Labs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove support for end-of-life Python 2.7
Python 2.7 is end of life. It is no longer receiving bug fixes,
including for security issues. Python 2.7 went EOL on 2020-01-01. For
additional details on support Python versions, see:
Supported: https://devguide.python.org/#status-of-python-branches
EOL: https://devguide.python.org/devcycle/#end-of-life-branches
Removing support for EOL Pythons will reduce testing and maintenance
resources while allowing the library to move towards a modern Python 3
style. Python 2.7 users can continue to use the previous version of
redis-py.
Was able to simplify the code:
- Removed redis._compat module
- Removed __future__ imports
- Removed object from class definition (all classes are new style)
- Removed long (Python 3 unified numeric types)
- Removed deprecated __nonzero__ method
- Use simpler Python 3 super() syntax
- Use unified OSError exception
- Use yield from syntax
Co-authored-by: Andy McCurdy <andy@andymccurdy.com>
|
|
|
| |
Added directive to document Sentinel module.
|