Browse Source
Update
Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
main
2 changed files with
3 additions and
3 deletions
-
README.md
-
milvus_client.py
|
@ -52,12 +52,12 @@ Create the operator via the following factory method: |
|
|
|
|
|
|
|
|
**Parameters:** |
|
|
**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. |
|
|
The order of use: uri > host/port, token > user/password. |
|
|
|
|
|
|
|
|
***uri:*** *str* |
|
|
***uri:*** *str* |
|
|
|
|
|
|
|
|
The uri for Milvus. |
|
|
|
|
|
|
|
|
The uri for Milvus, defaults to "http://localhost:19530" |
|
|
|
|
|
|
|
|
***host:*** *str* |
|
|
***host:*** *str* |
|
|
|
|
|
|
|
|
|
@ -15,7 +15,7 @@ class MilvusClient(PyOperator): |
|
|
""" |
|
|
""" |
|
|
|
|
|
|
|
|
def __init__(self, |
|
|
def __init__(self, |
|
|
uri: str = None, |
|
|
|
|
|
|
|
|
uri: str = 'http://localhost:19530', |
|
|
host: str = None, |
|
|
host: str = None, |
|
|
port: Union[int, str] = None, |
|
|
port: Union[int, str] = None, |
|
|
token: str = None, |
|
|
token: str = None, |
|
|