Enabled no-self-use pylint rule in security. Formatter (#11041)

This commit is contained in:
Kasia Kucharczyk
2020-09-24 22:46:21 +02:00
committed by GitHub
parent 8bc05bda6f
commit 7ca4192fe6

View File

@@ -990,9 +990,7 @@ class SupersetSecurityManager( # pylint: disable=too-many-public-methods
self.get_datasource_access_error_object(datasource)
)
def get_rls_filters( # pylint: disable=no-self-use
self, table: "BaseDatasource"
) -> List[SqlaQuery]:
def get_rls_filters(self, table: "BaseDatasource") -> List[SqlaQuery]:
"""
Retrieves the appropriate row level security filters for the current user and
the passed table.