Hi, is the `CREATE_FILTER_VIEW` permission incompa...
# gooddata-cloud
a
Hi, is the
CREATE_FILTER_VIEW
permission incompatible with the gooddata python sdk? Using the latest version of the sdk (1.28), we get get an error when retrieving workspace permissions for one workspace where that permission has been granted to one user
m
Hi Anant, could you please share the error that you are getting? Also, how are you exactly retrieving the workspace permissions?
a
We're getting this error:
Invalid value for name (CREATE_FILTER_VIEW), must be one of ['MANAGE', 'ANALYZE', 'EXPORT', 'EXPORT_TABULAR', 'EXPORT_PDF', 'VIEW']
The error is originally thrown here:
File "/var/lang/lib/python3.12/site-packages/gooddata_api_client/model_utils.py", line 888, in check_allowed_values
We ran the same script after updating to the latest version of the SDK (we were originally on version 1.22), and got same error Happy to share additional context/details over DM!
j
Hello Anat, It seems that the API client for Python SDK was not regenerated. We just merged the regenerated API client and released the Python SDK dev version, which should contain CREATE_FILTER_VIEW. Feel free to test it out. https://pypi.org/project/gooddata-sdk/1.28.1.dev1/ The upcoming minor Python release 1.29.0 is going to contain CREATE_FILTER_VIEW.
👀 1
a
Thanks @Jan Kadlec, we were able to use this version of the SDK successfully with no errors thrown.