Skip to content

Commit 2ddbdba

Browse files
brunocfnbaBruno Faria
authored andcommitted
Added grpc as a valid protocol for uri Signed-off-by: Bruno Faria <[email protected]>
Added grpc protocol to connection uri validation. Not having it was preventing grpc connections with the following error: <ConnectionConfigException: (code=1, message=Open local milvus failed, dir: grpc: is not exists)> Signed-off-by: Bruno Faria <[email protected]> Signed-off-by: Bruno Faria <[email protected]>
1 parent 3198bd2 commit 2ddbdba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pymilvus/orm/connections.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ def connect(
363363
"http",
364364
"https",
365365
"tcp",
366+
"grpc"
366367
]:
367368
# start and connect milvuslite
368369
if kwargs["uri"].endswith("/"):

0 commit comments

Comments
 (0)