mirror of https://github.com/apache/superset.git
Enabled no-self-use pylint rule in security. Formatter (#11041)
This commit is contained in:
parent
8bc05bda6f
commit
7ca4192fe6
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue