Added support for Sisense Dashboards metadata scraping.
I've also changed the REST API results pagination/deduping logic because I found a minor bug while working on the present feature (in a nutshell: tuple() does not work seamlessly with dicts that contain complex values such as lists). I realized that pagination is not supported by GET /dashboards yet, but it was a bit late, so I decided to keep the fix to avoid trouble with the coming objects to be scraped.
- How I did it
The main change comprises 3 new methods and their unit tests:
MetadataScraper.scrape_all_dashboards()
RESTAPIHelper.get_all_dashboards()
RESTAPIHelper.get_dashboard()
- How to verify it
Run the unit tests.
- Description for the changelog
Added support for Sisense Dashboards metadata scraping.
PS: This PR is part of the effort to deliver feature #70.
- What I did
tuple()
does not work seamlessly with dicts that contain complex values such as lists). I realized that pagination is not supported byGET /dashboards
yet, but it was a bit late, so I decided to keep the fix to avoid trouble with the coming objects to be scraped.- How I did it The main change comprises 3 new methods and their unit tests:
MetadataScraper.scrape_all_dashboards()
RESTAPIHelper.get_all_dashboards()
RESTAPIHelper.get_dashboard()
- How to verify it Run the unit tests.
- Description for the changelog Added support for Sisense Dashboards metadata scraping.
PS: This PR is part of the effort to deliver feature #70.