Files
jdy_fastapi/app/tasks/__init__.py
T
2025-11-14 11:04:01 +08:00

48 lines
1.2 KiB
Python

"""
后台任务模块统一导出入口
本模块统一导出所有后台任务函数,保持向后兼容。
所有原有导入方式仍然有效。
导出的任务包括:
- 通用功能: update_jiandaoyun, approve_workflow
- 品牌任务: create_brand_background
- 删除任务: delete_history_background, delete_customer_background, delete_car_background
- 客户任务: modify_customer_info_background
"""
# 通用功能
from app.tasks.common import update_jiandaoyun, approve_workflow
# 品牌相关任务
from app.tasks.brand_tasks import create_brand_background
# 删除相关任务
from app.tasks.delete_tasks import (
delete_history_background,
delete_customer_background,
delete_car_background
)
# 客户相关任务
from app.tasks.customer_tasks import modify_customer_info_background
# BI相关任务
from app.tasks.bi_tasks import bi_task_background
__all__ = [
# 通用功能
'update_jiandaoyun',
'approve_workflow',
# 品牌任务
'create_brand_background',
# 删除任务
'delete_history_background',
'delete_customer_background',
'delete_car_background',
# 客户任务
'modify_customer_info_background',
# BI任务
'bi_task_background',
]