Fix TypeError

This commit is contained in:
Denis
2021-04-24 17:17:02 +07:00
parent 81394e5260
commit 8481226ff4
16 changed files with 58 additions and 47 deletions

View File

@@ -1,5 +1,6 @@
from __future__ import annotations
from librespot.standard.Closeable import Closeable
import typing
class DealerClient(Closeable):
@@ -14,6 +15,6 @@ class DealerClient(Closeable):
pass
class MessageListener:
def on_message(self, uri: str, headers: dict[str, str],
def on_message(self, uri: str, headers: typing.Dict[str, str],
payload: bytes):
pass