[2023-02-08 16:06:23,271 - DEBUG - ci_test]: (api_request) : [Partition.load] args: [2, 20], kwargs: {'_resource_groups': ['rgA_Wwa1hpNC', 'rgB_R2tDesPk']} (api_request.py:56)
[2023-02-08 16:06:23,271 - ERROR - ci_test]: Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pymilvus/decorators.py", line 105, in handler
return func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pymilvus/decorators.py", line 136, in handler
ret = func(self, *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pymilvus/decorators.py", line 87, in handler
raise e
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pymilvus/decorators.py", line 50, in handler
return func(self, *args, **kwargs)
TypeError: has_partition() got an unexpected keyword argument '_resource_groups'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/yanliang/fork/milvus/tests/python_client/utils/api_request.py", line 26, in inner_wrapper
res = func(*args, **_kwargs)
File "/Users/yanliang/fork/milvus/tests/python_client/utils/api_request.py", line 57, in api_request
return func(*arg, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pymilvus/orm/partition.py", line 221, in load
if conn.has_partition(self._collection.name, self._name, **kwargs):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pymilvus/decorators.py", line 121, in handler
raise MilvusException(message=f"Unexpected error, message=<{str(e)}>") from e
pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=Unexpected error, message=<has_partition() got an unexpected keyword argument '_resource_groups'>)>
(api_request.py:39)
[2023-02-08 16:06:23,271 - ERROR - ci_test]: (api_response) : <MilvusException: (code=1, message=Unexpected error, message=<has_partition() got an unexpected keyword argument '_resource_groups'>)> (api_request.py:40)
Is there an existing issue for this?
Environment
Current Behavior
partition.load(_resource_groups=[rgA])
Expected Behavior
load successfully if rgA has available nodes
Steps To Reproduce
Milvus Log
No response
Anything else?
No response