Skip to content

Commit

Permalink
enhance: add describe and alter database in MilvusClient (#2433)
Browse files Browse the repository at this point in the history
Signed-off-by: lixinguo <[email protected]>
Co-authored-by: lixinguo <[email protected]>
  • Loading branch information
smellthemoon and lixinguo authored Dec 12, 2024
1 parent c2d328d commit 6ce08b2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pymilvus/milvus_client/milvus_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1179,6 +1179,14 @@ def list_databases(self, **kwargs) -> List[str]:
conn = self._get_connection()
return conn.list_database(**kwargs)

def describe_database(self, db_name: str, **kwargs):
conn = self._get_connection()
conn.describe_database(db_name, **kwargs)

def alter_database(self, db_name: str, properties: dict, **kwargs):
conn = self._get_connection()
conn.alter_database(db_name, properties, **kwargs)

def flush(
self,
collection_name: str,
Expand Down

0 comments on commit 6ce08b2

Please sign in to comment.