mirror of
https://github.com/veops/cmdb.git
synced 2025-08-06 15:03:22 +08:00
10 lines
195 B
Python
10 lines
195 B
Python
# -*- coding:utf-8 -*-
|
|
|
|
from api.app import create_app
|
|
from api.extensions import celery
|
|
|
|
# celery worker -A celery_worker.celery -l DEBUG -E -Q xxxx
|
|
|
|
app = create_app()
|
|
app.app_context().push()
|