mirror of
https://github.com/apache/superset.git
synced 2026-04-21 09:04:38 +00:00
Enabled no-self-use pylint rule in security. Formatter (#11041)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user