Skip to content

Commit c148c26

Browse files
author
r0g0bum
committed
reformatted
1 parent 9e89bab commit c148c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymilvus/orm/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def infer_dtype_bydata(data: Any, **kwargs):
131131
d_type = dtype_str_map.get(type_str, DataType.UNKNOWN)
132132
if is_varchar_datatype(d_type) or is_bool_datatype(d_type):
133133
return DataType.ARRAY
134-
if kwargs is None or len(kargs) == 0:
134+
if kwargs is None or len(kwargs) == 0:
135135
return DataType.FLOAT_VECTOR if is_numeric_datatype(d_type) else DataType.UNKNOWN
136136
else:
137137
if kwargs["type"] is not None and kwargs["type"] == "vector":

0 commit comments

Comments
 (0)