Skip to content

Commit

Permalink
lint error fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
dabhicusp committed Jan 17, 2024
1 parent b13c16b commit b3c5ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xql/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def parse_query(query: str) -> xr.Dataset:
if is_star is None:
data_vars = [var.args['this'].args['this'] if var.key == 'column' else var.args['this']
for var in expr.expressions
if (var.key == "column" or (var.key == "literal" and var.args.get("is_string") == True))]
if (var.key == "column" or (var.key == "literal" and var.args.get("is_string") is True))]

where = expr.find(exp.Where)
group_by = expr.find(exp.Group)
Expand Down

0 comments on commit b3c5ab7

Please sign in to comment.