add proper rabbitMQ extension
This commit is contained in:
@@ -2,6 +2,7 @@ from flask_apispec import FlaskApiSpec
|
||||
from flask_jwt_extended import JWTManager
|
||||
from flask_migrate import Migrate
|
||||
from flask_sqlalchemy import SQLAlchemy, Model
|
||||
from rmq_helper import RabbitMQ
|
||||
|
||||
|
||||
class CRUDMixin(Model):
|
||||
@@ -36,3 +37,4 @@ db = SQLAlchemy(model_class=CRUDMixin)
|
||||
migrate = Migrate()
|
||||
jwt = JWTManager()
|
||||
apispec = FlaskApiSpec()
|
||||
rabbit = RabbitMQ()
|
||||
|
||||
Reference in New Issue
Block a user