Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
hughhhh committed Aug 4, 2022
1 parent f3e6848 commit bac0e81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/models/sql_lab.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ def columns(self) -> List[ResultSetColumnType]:
@property
def data(self) -> Dict[str, Any]:
order_by_choices = []
for c in self.columns:
column_name = str(c.get("column_name") or "")
for col in self.columns:
column_name = str(col.get("column_name") or "")
order_by_choices.append(
(json.dumps([column_name, True]), column_name + " [asc]")
)
Expand Down

0 comments on commit bac0e81

Please sign in to comment.