fix(playout): add types

This reverts commit d6348d5575.
This commit is contained in:
jo 2022-09-09 20:23:35 +02:00 committed by Kyle Robbertze
parent 0e1dfaa9ff
commit 4ada25a3ff
6 changed files with 19 additions and 14 deletions

View file

@ -2,6 +2,7 @@ import json
from queue import Queue as ThreadQueue
from signal import SIGTERM, signal
from time import sleep
from typing import Any, Dict
# For RabbitMQ
from kombu.connection import Connection
@ -75,8 +76,8 @@ class MessageListener:
def __init__(
self,
config: Config,
fetch_queue: ThreadQueue,
recorder_queue: ThreadQueue,
fetch_queue: ThreadQueue[Dict[str, Any]],
recorder_queue: ThreadQueue[Dict[str, Any]],
) -> None:
self.config = config