File tree 1 file changed +0
-3
lines changed
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change 9
9
import grpc
10
10
from grpc ._cython import cygrpc
11
11
12
- from pymilvus .client .types import DataType
13
12
from pymilvus .decorators import ignore_unimplemented , retry_on_rpc_failure , upgrade_reminder
14
13
from pymilvus .exceptions import (
15
14
AmbiguousIndexName ,
@@ -1145,8 +1144,6 @@ def describe_index(
1145
1144
info_dict = {kv .key : kv .value for kv in response .index_descriptions [0 ].params }
1146
1145
info_dict ["field_name" ] = response .index_descriptions [0 ].field_name
1147
1146
info_dict ["index_name" ] = response .index_descriptions [0 ].index_name
1148
- if info_dict .get ("json_cast_type" ):
1149
- info_dict ["json_cast_type" ] = DataType (int (info_dict ["json_cast_type" ]))
1150
1147
if info_dict .get ("params" ):
1151
1148
info_dict ["params" ] = json .loads (info_dict ["params" ])
1152
1149
info_dict ["total_rows" ] = response .index_descriptions [0 ].total_rows
You can’t perform that action at this time.
0 commit comments