From 1df93848d265c6db90e389dd1f6a55ff502f77c2 Mon Sep 17 00:00:00 2001 From: "Hugh A. Miles II" Date: Thu, 6 May 2021 15:11:07 -0400 Subject: [PATCH] fix: disable pylint error breaking CI (#14506) --- superset/models/dashboard.py | 1 + 1 file changed, 1 insertion(+) diff --git a/superset/models/dashboard.py b/superset/models/dashboard.py index 6203cb400b..5252574530 100644 --- a/superset/models/dashboard.py +++ b/superset/models/dashboard.py @@ -171,6 +171,7 @@ class Dashboard( # pylint: disable=too-many-instance-attributes @property def datasources(self) -> Set[BaseDatasource]: + # pylint: disable=using-constant-test return {slc.datasource for slc in self.slices if slc.datasource} @property