From 700b17a1fafc75528624e02043e12a66b3cf4f34 Mon Sep 17 00:00:00 2001 From: Ajay Raj Date: Thu, 20 Jun 2024 16:28:32 -0700 Subject: [PATCH] fix mypy --- vocode/streaming/utils/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vocode/streaming/utils/worker.py b/vocode/streaming/utils/worker.py index fcaacc2e6..5d5b7fda0 100644 --- a/vocode/streaming/utils/worker.py +++ b/vocode/streaming/utils/worker.py @@ -29,7 +29,7 @@ def terminate(self): class QueueConsumer(AbstractWorker[WorkerInputType]): def __init__( self, - input_queue: asyncio.Queue[WorkerInputType] = None, + input_queue: Optional[asyncio.Queue[WorkerInputType]] = None, ) -> None: self.input_queue: asyncio.Queue[WorkerInputType] = input_queue or asyncio.Queue()