46 lines
936 B
Python
46 lines
936 B
Python
"""
|
|||
|
|
模型导出 — aibox_sophon_adapter
|
||
|
|
|
||
|
|
包含 gen_models 自动生成的模型和手动定义的 board_models。
|
||
|
|
"""
|
||
|
|
from .pydantic import (
|
||
|
|
AiboxSophonAdapterResponse,
|
||
|
|
GetDeviceGetRequest,
|
||
|
|
GetDeviceGetResponse,
|
||
|
|
GetOfflineDevicesGetResponse,
|
||
|
|
ListDevicesGetResponse,
|
||
|
|
)
|
||
|
|
from .board_models import (
|
||
|
|
BoardPingRequest,
|
||
|
|
HostDiskInfo,
|
||
|
|
MediaInfo,
|
||
|
|
MediaStatusInfo,
|
||
|
|
AlgItemInfo,
|
||
|
|
AlgTaskStatusInfo,
|
||
|
|
TaskInfo,
|
||
|
|
TpuInfo,
|
||
|
|
DeviceSummary,
|
||
|
|
)
|
||
|
|
from .orm import BoardHeartbeat
|
||
|
|
|
||
|
|
__all__ = [
|
||
|
|
# 自动生成
|
||
|
|
"AiboxSophonAdapterResponse",
|
||
|
|
"GetDeviceGetRequest",
|
||
|
|
"GetDeviceGetResponse",
|
||
|
|
"GetOfflineDevicesGetResponse",
|
||
|
|
"ListDevicesGetResponse",
|
||
|
|
# 手动定义
|
||
|
|
"BoardPingRequest",
|
||
|
|
"HostDiskInfo",
|
||
|
|
"MediaInfo",
|
||
|
|
"MediaStatusInfo",
|
||
|
|
"AlgItemInfo",
|
||
|
|
"AlgTaskStatusInfo",
|
||
|
|
"TaskInfo",
|
||
|
|
"TpuInfo",
|
||
|
|
"DeviceSummary",
|
||
|
|
# ORM
|
||
|
|
"BoardHeartbeat",
|
||
|
|
]
|