[skip ci]Remove a few lines of useless code (#8128)

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
pull/8129/head
yanliang567 2021-09-17 14:07:50 +08:00 committed by GitHub
parent 02154f236b
commit 8a27a73f6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -10,14 +10,10 @@ from pymilvus import DataType
from base.schema_wrapper import ApiCollectionSchemaWrapper, ApiFieldSchemaWrapper
from common import common_type as ct
from utils.util_log import test_log as log
import traceback
"""" Methods of processing data """
# l2 = lambda x, y: np.linalg.norm(np.array(x) - np.array(y))
def gen_unique_str(str_value=None):
prefix = "".join(random.choice(string.ascii_letters + string.digits) for _ in range(8))
return "test_" + prefix if str_value is None else str_value + "_" + prefix