未验证 提交 96f55d02 编写于 作者: B BossZou 提交者: GitHub

[skip ci] Remove milvus IndexType,MetricType import (#3034)

Signed-off-by: Nyhz <413554850@qq.com>
上级 f5e2db18
......@@ -8,7 +8,6 @@ from multiprocessing import Process
import sklearn.preprocessing
import pytest
from milvus import IndexType, MetricType
from utils import *
nb = 6000
......
......@@ -4,7 +4,6 @@ import logging
import itertools
from time import sleep
from multiprocessing import Process
from milvus import IndexType, MetricType
from utils import *
dim = 128
......
......@@ -8,7 +8,6 @@ from multiprocessing import Process
import sklearn.preprocessing
import pytest
from milvus import IndexType, MetricType
from utils import *
nb = 1
......
......@@ -4,7 +4,6 @@ import logging
import itertools
from time import sleep
from multiprocessing import Process
from milvus import IndexType, MetricType
from utils import *
uniq_id = "drop_collection"
......
......@@ -5,7 +5,6 @@ import itertools
import threading
from time import sleep
from multiprocessing import Process
from milvus import IndexType, MetricType
from utils import *
collection_id = "has_collection"
......
......@@ -5,7 +5,6 @@ import itertools
import threading
from time import sleep
from multiprocessing import Process
from milvus import IndexType, MetricType
from utils import *
......
......@@ -4,7 +4,6 @@ import logging
import itertools
from time import sleep
from multiprocessing import Process
from milvus import IndexType, MetricType
from utils import *
collection_id = "load_collection"
......
......@@ -3,7 +3,7 @@ import logging
import socket
import pytest
from utils import gen_unique_str
from milvus import Milvus, IndexType, MetricType, DataType
from milvus import Milvus, DataType
from utils import *
timeout = 60
......
......@@ -5,7 +5,6 @@ import threading
import logging
from multiprocessing import Pool, Process
import pytest
from milvus import IndexType, MetricType
from utils import *
dim = 128
......
......@@ -5,7 +5,6 @@ import threading
import logging
from multiprocessing import Pool, Process
import pytest
from milvus import IndexType, MetricType
from utils import *
......
......@@ -4,7 +4,6 @@ import threading
import logging
from multiprocessing import Pool, Process
import pytest
from milvus import IndexType, MetricType
from utils import *
dim = 128
......
......@@ -4,7 +4,6 @@ import threading
import logging
from multiprocessing import Pool, Process
import pytest
from milvus import IndexType, MetricType
from utils import *
dim = 128
......
......@@ -9,7 +9,7 @@ import time, datetime
import copy
import numpy as np
from sklearn import preprocessing
from milvus import Milvus, IndexType, MetricType, DataType
from milvus import Milvus, DataType
port = 19530
epsilon = 0.000001
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册