36 lines
913 B
Python
36 lines
913 B
Python
# -*- coding: utf-8 -*-
|
|
"""数据模型模块"""
|
|
|
|
from .task_model import TaskItem, TaskStatus, TaskHistory, TaskConfig, QueuedTask
|
|
from .schedule_model import (
|
|
ScheduledTask, ScheduleConfig, ScheduleType, IntervalUnit, ScheduleStore
|
|
)
|
|
from .task_registry import (
|
|
TaskRegistry, TaskDefinition, BusinessDomain, DOMAIN_LABELS,
|
|
task_registry, get_ods_task_codes, get_fact_ods_task_codes,
|
|
get_dimension_ods_task_codes, get_all_task_tuples
|
|
)
|
|
|
|
__all__ = [
|
|
"TaskItem",
|
|
"TaskStatus",
|
|
"TaskHistory",
|
|
"TaskConfig",
|
|
"QueuedTask",
|
|
"ScheduledTask",
|
|
"ScheduleConfig",
|
|
"ScheduleType",
|
|
"IntervalUnit",
|
|
"ScheduleStore",
|
|
# 任务注册表
|
|
"TaskRegistry",
|
|
"TaskDefinition",
|
|
"BusinessDomain",
|
|
"DOMAIN_LABELS",
|
|
"task_registry",
|
|
"get_ods_task_codes",
|
|
"get_fact_ods_task_codes",
|
|
"get_dimension_ods_task_codes",
|
|
"get_all_task_tuples",
|
|
]
|