
from flask_sqlalchemy import SQLAlchemy
from flask_redis import FlaskRedis
from flask_migrate import Migrate
# from flask_rq2 import RQ

from rq import Queue
from morphocut_server.worker import redis_conn

database = SQLAlchemy()
redis_store = FlaskRedis()
migrate = Migrate()
redis_queue = Queue(connection=redis_conn)
flask_rq = None

[((218, 230), 'flask_sqlalchemy.SQLAlchemy', 'SQLAlchemy', ([], {}), '()\n', (228, 230), False, 'from flask_sqlalchemy import SQLAlchemy\n'), ((245, 257), 'flask_redis.FlaskRedis', 'FlaskRedis', ([], {}), '()\n', (255, 257), False, 'from flask_redis import FlaskRedis\n'), ((268, 277), 'flask_migrate.Migrate', 'Migrate', ([], {}), '()\n', (275, 277), False, 'from flask_migrate import Migrate\n'), ((292, 320), 'rq.Queue', 'Queue', ([], {'connection': 'redis_conn'}), '(connection=redis_conn)\n', (297, 320), False, 'from rq import Queue\n')]