[skip ci] Remove unused utils import (#8384)

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
pull/8422/head
ThreadDao 2021-09-23 15:02:07 +08:00 committed by GitHub
parent 6469d83072
commit 169fd5d572
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 8 deletions

View File

@ -1,9 +1,5 @@
import os
import sys
import random
import pdb
import string
import struct
import logging
import threading
import traceback
@ -68,8 +64,10 @@ default_index_params = [
{"nlist": 128}
]
def create_target_index(index,field_name):
index["field_name"]=field_name
def create_target_index(index, field_name):
index["field_name"] = field_name
def index_cpu_not_support():
return ["IVF_SQ8_HYBRID"]
@ -1021,5 +1019,3 @@ class MyThread(threading.Thread):
super(MyThread, self).join()
if self.exc:
raise self.exc