john-bodley commented on code in PR #26389:
URL: https://github.com/apache/superset/pull/26389#discussion_r1439695625
##########
superset/commands/dashboard/importers/v1/utils.py:
##########
@@ -142,6 +142,12 @@ def update_id_refs( # pylint: disable=too-many-locals
id_map[old_id] for old_id in scope_excluded if old_id in id_map
]
+ charts_in_scope = native_filter.get("chartsInScope", [])
+ if charts_in_scope:
Review Comment:
```suggestion
if charts_in_scope := native_filter.get("chartsInScope", []):
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]