Hi all,
I am trying to do a simple API request to get a Dashboard and then run through the Dashboard elements, running inline queries. I am using the run_dashboard_queries.py
file in the python_api_samples
as an example. I’ve noticed that Dashboards created using LookML will not have a query object in the Dashboard element, causing the script to error. Dashboards created in the UI don’t seem to have this issue.
The lines in the script in question are these:
if element['look_id'] is None:
full_query = element['query']
look_id
, look
, query
, and query_id
are all None
in the returned Dashboard’s dashboard_elements
. Is there anything that needs to be set in order for these values to be returned properly?