Skip to content

Commit

Permalink
fix: change confusing error message
Browse files Browse the repository at this point in the history
Signed-off-by: lixinguo <[email protected]>
  • Loading branch information
lixinguo committed Jan 22, 2024
1 parent 14e51f8 commit f1fd763
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pymilvus/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ class ExceptionsMessage:
PartitionKeyFieldType = "Param partition_key_field must be str type."
PartitionKeyFieldNotExist = "the specified partition key field {%s} not exist"
IsPartitionKeyType = "Param is_partition_key must be bool type."
DataTypeInconsistent = "The data in the same column must be of the same type."
DataTypeInconsistent = (
"The Input data type is inconsistent with defined schema, please check it."
)
DataTypeNotSupport = "Data type is not support."
DataLengthsInconsistent = "Arrays must all be same length."
DataFrameInvalid = "Cannot infer schema from empty dataframe."
Expand Down
1 change: 0 additions & 1 deletion pymilvus/milvus_client/milvus_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,6 @@ def release_partitions(
timeout: Optional[float] = None,
**kwargs,
):

if isinstance(partition_names, str):
partition_names = [partition_names]
conn = self._get_connection()
Expand Down

0 comments on commit f1fd763

Please sign in to comment.