Introduce static type checking with pyright (#255)

This commit is contained in:
Marcus Valtonen Örnhag
2025-04-05 20:19:05 +02:00
committed by GitHub
parent d7995b8116
commit 0767030997
6 changed files with 45 additions and 26 deletions

View File

@@ -976,7 +976,7 @@ class ServerToClientAudio(AudioStreamTrack):
) -> None:
self.generator: Generator[Any, None, Any] | None = None
self.event_handler = event_handler
self.event_handler._clear_queue = self.clear_queue
self.event_handler._clear_queue = self.clear_queue # pyright: ignore
self.current_timestamp = 0
self.latest_args: str | list[Any] = "not_set"
self.args_set = threading.Event()