GitHub user pandax08 added a comment to the discussion: warm_up_cache API 
doesn't apply filters when the dataset uses the filter_values Jinja macro

 @Dosu,

I'd like to clarify that in my script, I am already providing a valid 
dashboard_id with every call to the /api/v1/dataset/warm_up_cache endpoint. The 
ID is obtained dynamically by first calling the /api/v1/dashboard/ endpoint to 
get the list of available dashboards and then using that ID in the subsequent 
requests.

Despite providing the dashboard_id as suggested, the filter_values macro still 
returns an empty list in the Jinja context. This seems to confirm that, at 
least in our environment, the issue persists even when following the 
recommended workaround.

GitHub link: 
https://github.com/apache/superset/discussions/34979#discussioncomment-14286084

----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@superset.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to