Skip to content

Commit

Permalink
Enabled no-self-use pylint rule in security. Formatter (apache#11041)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkucharc authored and auxten committed Nov 20, 2020
1 parent 275f23e commit 72ac812
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions superset/security/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -990,9 +990,7 @@ def raise_for_access( # pylint: disable=too-many-arguments,too-many-branches
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.
Expand Down

0 comments on commit 72ac812

Please sign in to comment.