mayurnewase commented on code in PR #22325: URL: https://github.com/apache/superset/pull/22325#discussion_r1045071618
########## superset/dao/base.py: ########## @@ -188,3 +188,14 @@ def delete(cls, model: Model, commit: bool = True) -> Model: db.session.rollback() raise DAODeleteFailedError(exception=ex) from ex return model + + @classmethod + def bulk_delete(cls, models: List[Model], commit: bool = True) -> None: Review Comment: added on base class, so other apis can reuse it. -- 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