Hi, I have a question regarding the Python SDK. It...
# gooddata-cloud
a
Hi, I have a question regarding the Python SDK. It looks like this code snippet demonstrates the recommended approach to test whether individual visualizations are valid (i.e. executing without errors). Is there a similar recommended approach for testing whether dashboard filters are valid as well? More broadly, is there a general recommendation on how to setup automated tests for all workspace content? Thanks!
m
Hi Anant, we will need to check this internally for you and get back to you ASAP. Thanks for your patiance in the meantime! 🙂
👍 1
a
Hi @Michael Ullock following up on this question - thanks!
j
Hi @Anant Dalela sorry for the delay. we are still following up internally, I’ll let you know once I have an update for you.
👍 1
Hi Anant, I’m sorry for the delay getting back to you. I’m afraid we don’t have a function in python SDK that would target dashboard filters specifically. But here are some examples of analytics as a code use case. https://www.gooddata.com/blog/what-is-analytics-as-code/ https://www.gooddata.com/blog/data-pipeline-as-code-blueprint/ Here is a complete example pipeline working also with the layout APIs - https://github.com/jaceksan/gooddata-data-pipeline Additional validation capability can provide GoodData CLI We have an example here with some more information: https://www.gooddata.com/blog/how-to-create-your-next-analytical-project-in-code/
a
Hi @Jan Kos appreciate the follow-up. Is there a timeline for the CLI coming out of beta? Interested in using the CLI but we can't consider it for production use until it's no longer in beta
j
Hi Anant, we are constantly working on improvements of the CLI, however there is no specific timeline set when it’ll be out of beta yet
1