From 06de0671a453126008ebd0a320425cb4ace93a8e Mon Sep 17 00:00:00 2001 From: Jael Gu <mengjia.gu@zilliz.com> Date: Wed, 25 Oct 2023 16:51:50 +0800 Subject: [PATCH] Update Signed-off-by: Jael Gu <mengjia.gu@zilliz.com> --- README.md | 4 ++-- milvus_client.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a5f26c9..83d2163 100644 --- a/README.md +++ b/README.md @@ -52,12 +52,12 @@ Create the operator via the following factory method: **Parameters:** -All connection arguments are set as None by default. You must provide at least one valid value for uri or host/port. +You must provide at least one valid value for uri or host/port. The order of use: uri > host/port, token > user/password. ***uri:*** *str* -The uri for Milvus. +The uri for Milvus, defaults to "http://localhost:19530" ***host:*** *str* diff --git a/milvus_client.py b/milvus_client.py index c270c13..202b232 100644 --- a/milvus_client.py +++ b/milvus_client.py @@ -15,7 +15,7 @@ class MilvusClient(PyOperator): """ def __init__(self, - uri: str = None, + uri: str = 'http://localhost:19530', host: str = None, port: Union[int, str] = None, token: str = None,