cumulocity-python-api icon indicating copy to clipboard operation
cumulocity-python-api copied to clipboard

Rest Get for tenant options does not work as expected

Open ck-c8y opened this issue 1 year ago • 2 comments

# does  not work
# tenant_options = self.c8yapp.get_tenant_instance(headers=request_headers).tenant_options.get_all(category=self.ANALYTICS_MANAGEMENT_REPOSITORIES)
 # works     
  response = self.c8yapp.get_tenant_instance(headers=request_headers).get(
                    resource=f"{self.PATH_TENANT_OPTIONS}/{self.ANALYTICS_MANAGEMENT_REPOSITORIES}")
  tenant_options = response

ck-c8y avatar Nov 20 '24 15:11 ck-c8y

This is a bug.

chsou avatar Nov 21 '24 12:11 chsou

Fixed in version 3.0.0

chsou avatar Nov 21 '24 13:11 chsou