From 8d32885f4c43b676dd4c5b0c08d130caa76ea21e Mon Sep 17 00:00:00 2001 From: John Bodley <4567245+john-bodley@users.noreply.github.com> Date: Thu, 6 Jul 2023 08:46:43 -0700 Subject: [PATCH] Update superset/daos/base.py Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> --- superset/daos/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/daos/base.py b/superset/daos/base.py index 2d7dfe20f457d..a92e4813b389f 100644 --- a/superset/daos/base.py +++ b/superset/daos/base.py @@ -185,7 +185,7 @@ def update(cls, model: T, properties: dict[str, Any], commit: bool = True) -> T: @classmethod def delete(cls, items: T | list[T], commit: bool = True) -> None: """ - Delete the specified items(s) including their associated relationships. + Delete the specified item(s) including their associated relationships. Note that bulk deletion via `delete` is not invoked in the base class as this does not dispatch the ORM `after_delete` event which may be required to augment