fix(playout): py36 compatibility broken typings

This partially reverts commit 5505222df6.
This commit is contained in:
jo 2022-09-01 16:18:21 +02:00 committed by Jonas L
parent d93ded9dd0
commit d6348d5575
6 changed files with 14 additions and 19 deletions

View file

@ -2,7 +2,6 @@ import json
import time
from queue import Queue as ThreadQueue
from threading import Thread
from typing import Any, Dict
# For RabbitMQ
from kombu.connection import Connection
@ -33,8 +32,8 @@ class PypoMessageHandler(Thread):
def __init__(
self,
fetch_queue: ThreadQueue[Dict[str, Any]],
recorder_queue: ThreadQueue[Dict[str, Any]],
fetch_queue: ThreadQueue,
recorder_queue: ThreadQueue,
config: RabbitMQConfig,
):
Thread.__init__(self)