From 07d210a8d7c5186e612887f774438bdbf24e28ef Mon Sep 17 00:00:00 2001 From: shaoting-huang Date: Mon, 2 Dec 2024 15:18:18 +0800 Subject: [PATCH] fix list aliases rpc call Signed-off-by: shaoting-huang --- pymilvus/orm/utility.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pymilvus/orm/utility.py b/pymilvus/orm/utility.py index 7844dbb66..beec981dd 100644 --- a/pymilvus/orm/utility.py +++ b/pymilvus/orm/utility.py @@ -774,7 +774,8 @@ def list_aliases(collection_name: str, timeout: Optional[float] = None, using: s ['tom'] """ conn = _get_connection(using) - resp = conn.describe_collection(collection_name, timeout=timeout) + resp = conn.list_aliases(collection_name, timeout=timeout) + print("resp: ", resp) return resp["aliases"]