Skip to content

Commit

Permalink
Update return type of describe_role to Dict (milvus-io#2332) (milvus-…
Browse files Browse the repository at this point in the history
…io#2337)

related: [milvus-io#2332](milvus-io#2332)

---------

Signed-off-by: NamCaoHai <[email protected]>
  • Loading branch information
CaoHaiNam authored Nov 8, 2024
1 parent 0bf680f commit 2d58eef
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pymilvus/milvus_client/milvus_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -964,9 +964,7 @@ def drop_role(self, role_name: str, timeout: Optional[float] = None, **kwargs):
conn = self._get_connection()
conn.drop_role(role_name, timeout=timeout, **kwargs)

def describe_role(
self, role_name: str, timeout: Optional[float] = None, **kwargs
) -> List[Dict]:
def describe_role(self, role_name: str, timeout: Optional[float] = None, **kwargs) -> Dict:
conn = self._get_connection()
db_name = kwargs.pop("db_name", "")
try:
Expand Down

0 comments on commit 2d58eef

Please sign in to comment.