Skip to content

Commit

Permalink
fix list aliases rpc call
Browse files Browse the repository at this point in the history
Signed-off-by: shaoting-huang <[email protected]>
  • Loading branch information
shaoting-huang committed Dec 2, 2024
1 parent b2de119 commit 07d210a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pymilvus/orm/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]


Expand Down

0 comments on commit 07d210a

Please sign in to comment.