Skip to content

Commit

Permalink
correct line too long lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
painyjames committed Feb 9, 2022
1 parent 24455bf commit ed7c36f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion superset/databases/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ def apply(self, query: Query, value: Any) -> Query:
return query.filter(
or_(
self.model.perm.in_(database_perms),
self.model.database_name.in_([*schema_access_databases, *datasource_access_databases]),
self.model.database_name.in_(
[*schema_access_databases, *datasource_access_databases]
),
)
)

0 comments on commit ed7c36f

Please sign in to comment.