Skip to content

Commit dee71bc

Browse files
committed
refactor code
Signed-off-by: NamCaoHai <[email protected]>
1 parent 3015862 commit dee71bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pymilvus/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,4 +258,4 @@ class ExceptionsMessage:
258258
"Default value cannot be None for a field that is defined as nullable == false."
259259
)
260260
InvalidVectorFields = "%s is not a valid vector field; expected %s"
261-
InvalidNormalizationParam = "Unexpected normalization_fields parameters. Expected 'all' or a list of fields (e.g., [field1, field2, ...]), but got %s."
261+
InvalidNormalizationParam = "Unexpected normalization_fields parameters. Expected 'all' or a list of fields (e.g., [field1, field2, ...]), but got %s."

pymilvus/orm/collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1623,4 +1623,4 @@ def get_replicas(self, timeout: Optional[float] = None, **kwargs) -> Replica:
16231623

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

0 commit comments

Comments
 (0)