mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Format code
This commit is contained in:
parent
0f3f33a9e6
commit
18b56724bb
@ -11,6 +11,7 @@ from matcher.matcher import Matcher
|
|||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class Message(DataClassJsonMixin):
|
class Message(DataClassJsonMixin):
|
||||||
action: Literal["scan", "delete"]
|
action: Literal["scan", "delete"]
|
||||||
@ -54,4 +55,3 @@ class Subscriber:
|
|||||||
await self._channel.set_qos(prefetch_count=20)
|
await self._channel.set_qos(prefetch_count=20)
|
||||||
await self._queue.consume(on_message)
|
await self._queue.consume(on_message)
|
||||||
await asyncio.Future()
|
await asyncio.Future()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user