Skip to content

Commit 7809192

Browse files
Support UDS (#2023)
Signed-off-by: junjie.jiang <[email protected]>
1 parent ea2c9c6 commit 7809192

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pymilvus/orm/connections.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ def __get_full_address(
254254
return address, None
255255

256256
if uri != "":
257+
if isinstance(uri, str) and uri.startswith("unix:"):
258+
return uri, None
257259
address, parsed = self.__parse_address_from_uri(uri)
258260
return address, parsed
259261

0 commit comments

Comments
 (0)