fix(playout): py36 compatibility broken typings
This partially reverts commit 5505222df6
.
This commit is contained in:
parent
d93ded9dd0
commit
d6348d5575
6 changed files with 14 additions and 19 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue