Skip to content

Release 0.3.6 #240

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions docs/_static/version_names.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
[
{
"name": "0.3.5 (stable)",
"version": "0.3.5",
"name": "0.3.6 (stable)",
"version": "0.3.6",
"url": "/",
"preferred": true
},
{
"name": "0.3.5",
"version": "0.3.5",
"url": "/0.3.5/"
},
{
"name": "0.3.4",
"version": "0.3.4",
Expand Down
2 changes: 1 addition & 1 deletion docs/overview/cli.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[32m15:46:57\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m RedisVL version 0.3.5\n"
"\u001b[32m11:14:08\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m RedisVL version 0.3.6\n"
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "redisvl"
version = "0.3.5"
version = "0.3.6"
description = "Python client library and CLI for using Redis as a vector database"
authors = ["Redis Inc. <[email protected]>"]
license = "MIT"
Expand Down
20 changes: 20 additions & 0 deletions redisvl/index/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,16 @@ def from_existing(
redis_url: Optional[str] = None,
**kwargs,
):
"""
Initialize from an existing search index in Redis by index name.

Args:
name (str): Name of the search index in Redis.
redis_client(Optional[redis.Redis]): An
instantiated redis client.
redis_url (Optional[str]): The URL of the Redis server to
connect to.
"""
# Handle redis instance
if redis_url:
redis_client = RedisConnectionFactory.connect(
Expand Down Expand Up @@ -844,6 +854,16 @@ async def from_existing(
redis_url: Optional[str] = None,
**kwargs,
):
"""
Initialize from an existing search index in Redis by index name.

Args:
name (str): Name of the search index in Redis.
redis_client(Optional[redis.Redis]): An
instantiated redis client.
redis_url (Optional[str]): The URL of the Redis server to
connect to.
"""
if redis_url:
redis_client = RedisConnectionFactory.connect(
redis_url=redis_url, use_async=True, **kwargs
Expand Down
2 changes: 1 addition & 1 deletion redisvl/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.3.5"
__version__ = "0.3.6"
Loading