完成项目推理模块的接口测试
This commit is contained in:
@ -18,6 +18,8 @@ class ProjectDetectIn(BaseModel):
|
||||
detect_name: Optional[str] = Field(..., description="推理集合名称")
|
||||
rtsp_url: Optional[str] = Field(None, description="视频流地址")
|
||||
|
||||
model_config = ConfigDict(from_attributes=True)
|
||||
|
||||
|
||||
class ProjectDetectPager(BaseModel):
|
||||
project_id: Optional[int] = Field(..., description="项目id")
|
||||
|
Reference in New Issue
Block a user