fix things for docker compose

This commit is contained in:
Gardient
2021-12-19 20:27:13 +02:00
parent fe424e3fa2
commit c9f07df262
8 changed files with 67 additions and 14 deletions

View File

@@ -6,8 +6,8 @@ from pika.adapters.blocking_connection import BlockingChannel
class RabbitMQ:
host: str
connection: pika.BlockingConnection
channel: BlockingChannel
connection: pika.BlockingConnection = None
channel: BlockingChannel = None
def __init__(self, app: Flask = None):
if app is not None: