agent-Specialization/server/tasks/__init__.py

15 lines
412 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# server/tasks/__init__.py - tasks_bp 兼容入口
from flask import Blueprint
tasks_bp = Blueprint("tasks", __name__)
from server.tasks.models import *
from server.tasks.skills import *
from server.tasks.helpers import *
from server.tasks.media import *
# 显式导出单例,便于旧代码导入;必须在 api 之前定义api 会引用它
task_manager = TaskManager()
from server.tasks.api import *