[skip ci] Update codes of client file (#11653)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
pull/11666/head
wt 2021-11-11 18:48:54 +08:00 committed by GitHub
parent e533593a9f
commit fb933ff2c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ class MilvusClient(object):
def __init__(self, collection_name=None, host=None, port=None, timeout=300):
self._collection_name = collection_name
self._collection_info = None
self._dimension = None
start_time = time.time()
if not host:
host = config.SERVER_HOST_DEFAULT