Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
deeleeramone committed May 13, 2024
1 parent 0a4eaf6 commit be25c93
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ def transform_data(
symbols = query.symbol.split(",") if query.symbol else []
if symbols:
data.sort(
key=lambda item: ( # type: ignore
symbols.index(item.get("ticker"))
key=lambda item: (
symbols.index(item.get("ticker")) # type: ignore
if item.get("ticker") in symbols
else len(symbols)
)
Expand Down

0 comments on commit be25c93

Please sign in to comment.