logo
Browse Source

Update

Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
main
Jael Gu 1 year ago
parent
commit
06de0671a4
  1. 4
      README.md
  2. 2
      milvus_client.py

4
README.md

@ -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*

2
milvus_client.py

@ -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,

Loading…
Cancel
Save