john-bodley commented on code in PR #24894: URL: https://github.com/apache/superset/pull/24894#discussion_r1289224525
########## superset/daos/chart.py: ########## @@ -41,16 +41,14 @@ class ChartDAO(BaseDAO[Slice]): @classmethod def delete(cls, items: Slice | list[Slice], commit: bool = True) -> None: - item_ids = [item.id for item in get_iterable(items)] Review Comment: @jfrag1 I authored https://github.com/apache/superset/pull/24938 and https://github.com/apache/superset/pull/24939 which should help provide some clarity, i.e., that said code block is redundant as we're leaning on the database schema. -- 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: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org