Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
deeleeramone committed Dec 11, 2024
1 parent 734e4be commit 8cea1fb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ async def process_message(message):

try:
result = IntrinioWebSocketData.model_validate(message)
result = (
result = ( # type: ignore
{}
if result.exchange == "!" or result.price == 0
else result.model_dump_json()
if result.exchange == "!" or result.price == 0 # type: ignore
else result.model_dump_json() # type: ignore
)
except ValidationError as e:
try:
Expand Down

0 comments on commit 8cea1fb

Please sign in to comment.