mirror of
https://github.com/primedigitaltech/market-assistant.git
synced 2026-07-22 08:01:34 +08:00
- 原单文件 views.py 改为包 pipeline/views/:公共辅助、任务生命周期、报告与导出、数据集、商品快照、入库。 - urls 仍使用 from . import views,对外符号通过 __init__.py 聚合导出,行为不变。 Made-with: Cursor
63 lines
1.6 KiB
Python
63 lines
1.6 KiB
Python
"""Pipeline HTTP API 视图(按领域拆分子模块,本包对外保持与原 ``views.py`` 一致的导出)。"""
|
|
from __future__ import annotations
|
|
|
|
from .dataset_views import (
|
|
JobDatasetCommentsView,
|
|
JobDatasetDetailView,
|
|
JobDatasetExportView,
|
|
JobDatasetMergedView,
|
|
JobDatasetSearchView,
|
|
JobDatasetSummaryView,
|
|
)
|
|
from .ingest_views import JobImportMergedView
|
|
from .job_report_views import (
|
|
JobCompetitorBriefPackView,
|
|
JobCompetitorBriefView,
|
|
JobExportDocumentView,
|
|
JobReportAssetView,
|
|
JobStrategyDraftView,
|
|
)
|
|
from .job_views import (
|
|
JobCancelView,
|
|
JobDetailView,
|
|
JobDownloadView,
|
|
JobListCreateView,
|
|
JobPreviewView,
|
|
JobRegenerateReportView,
|
|
JobResumeView,
|
|
ReportConfigDefaultsView,
|
|
)
|
|
from .product_views import (
|
|
JdProductDetailView,
|
|
JdProductListView,
|
|
JdProductSnapshotDetailView,
|
|
JdProductSnapshotListView,
|
|
)
|
|
|
|
__all__ = [
|
|
"JobDatasetCommentsView",
|
|
"JobDatasetDetailView",
|
|
"JobDatasetExportView",
|
|
"JobDatasetMergedView",
|
|
"JobDatasetSearchView",
|
|
"JobDatasetSummaryView",
|
|
"JobImportMergedView",
|
|
"JobCompetitorBriefPackView",
|
|
"JobCompetitorBriefView",
|
|
"JobExportDocumentView",
|
|
"JobReportAssetView",
|
|
"JobStrategyDraftView",
|
|
"JobCancelView",
|
|
"JobDetailView",
|
|
"JobDownloadView",
|
|
"JobListCreateView",
|
|
"JobPreviewView",
|
|
"JobRegenerateReportView",
|
|
"JobResumeView",
|
|
"ReportConfigDefaultsView",
|
|
"JdProductDetailView",
|
|
"JdProductListView",
|
|
"JdProductSnapshotDetailView",
|
|
"JdProductSnapshotListView",
|
|
]
|