From 6474810d64b93c77c5c1780b5fbaf26555340d0c 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 6203cb400bc47..52525745307f6 100644 --- a/superset/models/dashboard.py +++ b/superset/models/dashboard.py @@ -171,6 +171,7 @@ def url(self) -> str: @property def datasources(self) -> Set[BaseDatasource]: + # pylint: disable=using-constant-test return {slc.datasource for slc in self.slices if slc.datasource} @property