Skip to content

Commit

Permalink
Release 0.3.6 (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerhutcherson authored Oct 31, 2024
1 parent 4ab6493 commit efda34b
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 5 deletions.
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. <applied.ai@redis.com>"]
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"

0 comments on commit efda34b

Please sign in to comment.