You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/opt/conda/envs/nv_ingest_runtime/lib/python3.10/pdb.py", line 1723, in main
pdb._runscript(mainpyfile)
File "/opt/conda/envs/nv_ingest_runtime/lib/python3.10/pdb.py", line 1583, in _runscript
self.run(statement)
File "/opt/conda/envs/nv_ingest_runtime/lib/python3.10/bdb.py", line 598, in run
exec(cmd, globals, locals)
File "<string>", line 1, in <module>
File "/raid/workspace/nv-ingest/client/client_examples/examples/index_test.py", line 12, in <module>
client_1 = MilvusClient(milvus_uri, alias=a_name)
File "/opt/conda/envs/nv_ingest_runtime/lib/python3.10/site-packages/pymilvus/milvus_client/milvus_client.py", line 66, in __init__
self._using = self._create_connection(
File "/opt/conda/envs/nv_ingest_runtime/lib/python3.10/site-packages/pymilvus/milvus_client/milvus_client.py", line 921, in _create_connection
raise ex from ex
File "/opt/conda/envs/nv_ingest_runtime/lib/python3.10/site-packages/pymilvus/milvus_client/milvus_client.py", line 918, in _create_connection
connections.connect(using, user, password, db_name, token, uri=uri, **kwargs)
TypeError: Connections.connect() got multiple values for argument 'alias'
Environment details
- Hardware/Softward conditions (OS, CPU, GPU, Memory):
- Method of installation (Docker, or from source):
- Milvus version (v0.3.1, or v0.4.0):
- Milvus configuration (Settings you made in `server_config.yaml`):
Anything else?
No response
The text was updated successfully, but these errors were encountered:
It's not recommanded to use connections together with MilvusClient. c = MilvusClient(uti="http:/localhost:19530") will connect with the server too.
Can you give more detail into why this is the case. The ip addresses shown there, are just examples, but what we mean is that we want to be able to handle connections to multiple different instances of milvus. That can be on separate machines (i.e. different connection URIs)
Also I was able to fix this, by fixing the alias functionality, submitted a PR for this #2716
Is there an existing issue for this?
Describe the bug
When I try to create two connections to separate instances of milvus, in the same execution, I get errors.
Expected Behavior
I expect to be able to make both connections successfully.
Steps/Code To Reproduce behavior
When I execute the following code:
I get this error:
Environment details
Anything else?
No response
The text was updated successfully, but these errors were encountered: