Skip to content

Commit

Permalink
fix(ci): mypy pre-commit issues (apache#27161)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgaspar committed Feb 19, 2024
1 parent 601e62a commit 8dc6cbe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion superset/sqllab/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,9 @@ def get_results(self, **kwargs: Any) -> FlaskResponse:
# return the result without special encoding
return json_success(
json.dumps(
result, default=utils.json_iso_dttm_ser, ignore_nan=True, encoding=None
result,
default=utils.json_iso_dttm_ser,
ignore_nan=True,
),
200,
)
Expand Down
1 change: 0 additions & 1 deletion superset/sqllab/execution_context_convertor.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def serialize_payload(self) -> str:
),
default=utils.pessimistic_json_iso_dttm_ser,
ignore_nan=True,
encoding=None,
)

return json.dumps(
Expand Down

0 comments on commit 8dc6cbe

Please sign in to comment.