We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a02b9bc commit 655daf4Copy full SHA for 655daf4
pymilvus/orm/types.py
@@ -70,12 +70,15 @@ def is_float_datatype(data_type: DataType):
70
def is_numeric_datatype(data_type: DataType):
71
return is_float_datatype(data_type) or is_integer_datatype(data_type)
72
73
+
74
def is_varchar_datatype(data_type: DataType):
75
return data_type in (DataType.VARCHAR,)
76
77
78
def is_bool_datatype(data_type: DataType):
79
return data_type in (DataType.BOOL,)
80
81
82
# pylint: disable=too-many-return-statements
83
def infer_dtype_by_scalar_data(data: Any):
84
if isinstance(data, float):
0 commit comments