Closed vjsaisha closed 1 year ago
Problem lies on the following code function
def get_objects_by_filter_func(self, operation_name, params, filter_func):
# extract query and path params for list operation
__, query_params, path_params = _get_user_params(params)
# copy required params to avoid mutation of passed `params` dict
url_params = {ParamName.QUERY_PARAMS: dict(query_params), ParamName.PATH_PARAMS: dict(path_params)}
# load list items
item_generator = iterate_over_pageable_resource(
partial(self.send_general_request, operation_name=operation_name), url_params
)
return (i for i in item_generator if filter_func(i))
if we delete the section
key from query_params
dictionary in this function then it's working .
I also have this issue. I am trying to upsertAccessRules but it fails when it tries to do a GET request in the background with the same query parameters that can only be used for the POST/PUT request.
Closing this, fix will go into version 1.0, planned to be released this month.
Trying to add the section query parameter to the code it's throwing the error in code.
Error