From 10d6b96fe7d07dcd48328f6d7bdbd5ac1ec5473a Mon Sep 17 00:00:00 2001 From: yanliang567 <82361606+yanliang567@users.noreply.github.com> Date: Thu, 28 Oct 2021 19:57:13 +0800 Subject: [PATCH] [skip ci]Update comments to install milvus (#10843) Signed-off-by: yanliang567 --- tests/python_client/customize/milvus_operator.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/python_client/customize/milvus_operator.py b/tests/python_client/customize/milvus_operator.py index a83b5f7e5d..06caa26ef5 100644 --- a/tests/python_client/customize/milvus_operator.py +++ b/tests/python_client/customize/milvus_operator.py @@ -38,7 +38,13 @@ class MilvusOperator(object): return d_configs._dict if d_configs._dict is not None else d_configs def install(self, configs, template=None): - """apply new custom resource object to install milvus """ + """ + Method: apply a custom resource object to install milvus + Params: + configs: a dict type of configurations that describe the properties of milvus to be deployed + template: Optional. Pass the template file location if there is a template to apply + Return: custom resource object instance + """ new_configs = self._update_configs(configs, template) print(new_configs) namespace = new_configs['metadata'].get('namespace', 'default')