mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
feat(logs context): Adding dashboard id to logs context (#27298)
This commit is contained in:
@@ -431,6 +431,7 @@ class ChartDataRestApi(ChartRestApi):
|
||||
self, form_data: dict[str, Any]
|
||||
) -> dict[str, Any]:
|
||||
return {
|
||||
"dashboard_id": form_data.get("form_data", {}).get("dashboardId"),
|
||||
"dataset_id": form_data.get("datasource", {}).get("id")
|
||||
if isinstance(form_data.get("datasource"), dict)
|
||||
and form_data.get("datasource", {}).get("type")
|
||||
|
||||
Reference in New Issue
Block a user