Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
chore: install milvus
Signed-off-by: jupyterjazz <[email protected]>
  • Loading branch information
jupyterjazz committed Jul 13, 2023
commit 06d06022b023a52f39645f3656f97fc017f4682a
2 changes: 1 addition & 1 deletion docarray/index/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __getattr__(name: str):
import_library('weaviate', raise_error=True)
import docarray.index.backends.weaviate as lib
elif name == 'MilvusDocumentIndex':
import_library('pymilvus', raise_error=True)
import_library('milvus', raise_error=True)
import docarray.index.backends.milvus as lib
elif name == 'RedisDocumentIndex':
import_library('redis', raise_error=True)
Expand Down
1 change: 1 addition & 0 deletions docarray/utils/_internal/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
'boto3': '"docarray[aws]"',
'botocore': '"docarray[aws]"',
'redis': '"docarray[redis]"',
'milvus': '"docarray[milvus]"'
}


Expand Down
4 changes: 2 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ torch = ["torch"]
web = ["fastapi"]
qdrant = ["qdrant-client"]
weaviate = ["weaviate-client"]
pymilvus = ["pymilvus"]
milvus = ["pymilvus"]
redis = ['redis']

# all
Expand Down