cumulocity-python-api
cumulocity-python-api copied to clipboard
Rest Get for tenant options does not work as expected
# 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
This is a bug.
Fixed in version 3.0.0