Skip to content

Commit

Permalink
fix pyright
Browse files Browse the repository at this point in the history
  • Loading branch information
provinzkraut committed Dec 12, 2024
1 parent 8cacf6e commit 210639c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litestar/handlers/websocket_handlers/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def on_registration(self, app: Litestar) -> None:
return_dto = self.resolve_return_dto()

# make sure the closure doesn't capture self._ws_stream / self
send_mode = self._ws_stream_options.send_mode
send_mode: WebSocketMode = self._ws_stream_options.send_mode # pyright: ignore
listen_for_disconnect = self._ws_stream_options.listen_for_disconnect
warn_on_data_discard = self._ws_stream_options.warn_on_data_discard

Expand Down

0 comments on commit 210639c

Please sign in to comment.