From 3d93ce4e7c4784bd46827bad557a5fa3e84bdd64 Mon Sep 17 00:00:00 2001 From: John Bodley <4567245+john-bodley@users.noreply.github.com> Date: Sat, 26 Feb 2022 07:16:15 +1300 Subject: [PATCH] Update manager.py --- superset/security/manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/superset/security/manager.py b/superset/security/manager.py index d4c8dec5ab47d..fd9b451de3f30 100644 --- a/superset/security/manager.py +++ b/superset/security/manager.py @@ -94,6 +94,7 @@ class SupersetRoleListWidget(ListWidget): # pylint: disable=too-few-public-meth template = "superset/fab_overrides/list_role.html" + def __init__(self, **kwargs: Any) -> None: kwargs["appbuilder"] = current_app.appbuilder super().__init__(**kwargs)