Skip to content

Commit

Permalink
refactor code
Browse files Browse the repository at this point in the history
Signed-off-by: NamCaoHai <[email protected]>
  • Loading branch information
CaoHaiNam committed Nov 7, 2024
1 parent c7dc104 commit 1e01b72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pymilvus/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,4 +258,4 @@ class ExceptionsMessage:
"Default value cannot be None for a field that is defined as nullable == false."
)
InvalidVectorFields = "%s is not a valid vector field; expected %s"
InvalidNormalizationParam = "Unexpected normalization_fields parameters. Expected 'all' or a list of fields (e.g., [field1, field2, ...]), but got %s."
InvalidNormalizationParam = "Unexpected normalization_fields parameters. Expected 'all' or a list of fields (e.g., [field1, field2, ...]), but got %s."
2 changes: 1 addition & 1 deletion pymilvus/orm/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -1623,4 +1623,4 @@ def get_replicas(self, timeout: Optional[float] = None, **kwargs) -> Replica:

def describe(self, timeout: Optional[float] = None):
conn = self._get_connection()
return conn.describe_collection(self.name, timeout=timeout)
return conn.describe_collection(self.name, timeout=timeout)

0 comments on commit 1e01b72

Please sign in to comment.