Format code

This commit is contained in:
Zoe Roux 2024-04-10 00:11:42 +02:00
parent 0f3f33a9e6
commit 18b56724bb
No known key found for this signature in database

View File

@ -11,6 +11,7 @@ from matcher.matcher import Matcher
logger = logging.getLogger(__name__)
@dataclass
class Message(DataClassJsonMixin):
action: Literal["scan", "delete"]
@ -54,4 +55,3 @@ class Subscriber:
await self._channel.set_qos(prefetch_count=20)
await self._queue.consume(on_message)
await asyncio.Future()