fix things for docker compose
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user