- 添加日报生成功能 (report_generator.py) - 添加 GUI 界面 (daily_report_gui.py) - 添加班次交接报告功能 (shift_report.py) - 集成飞书 API 获取排班信息 - 集成 Metabase 查询作业数据 - 生成 AGENTS.md 文档
32 lines
622 B
Python
32 lines
622 B
Python
"""
|
|
Metabase 查询模块
|
|
|
|
提供从 Metabase 查询时间范围数据和船舶数据的功能。
|
|
"""
|
|
|
|
from .time_operations import (
|
|
TimeOperationsClient,
|
|
get_operations_by_time,
|
|
MetabaseAPIError,
|
|
MetabaseAuthError,
|
|
MetabaseQueryError,
|
|
)
|
|
|
|
from .vessel_operations import (
|
|
VesselOperationsClient,
|
|
get_vessel_by_visit_id,
|
|
)
|
|
|
|
__all__ = [
|
|
# time_operations
|
|
"TimeOperationsClient",
|
|
"get_operations_by_time",
|
|
# vessel_operations
|
|
"VesselOperationsClient",
|
|
"get_vessel_by_visit_id",
|
|
# exceptions
|
|
"MetabaseAPIError",
|
|
"MetabaseAuthError",
|
|
"MetabaseQueryError",
|
|
]
|