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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

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.