aicheckv2-api/apps/business/detect/params/project_detect_log.py

20 lines
564 B
Python
Raw Normal View History

2025-04-11 08:54:28 +08:00
#!/usr/bin/python
# -*- coding: utf-8 -*-
# @version : 1.0
# @Create Time : 2025/04/03 10:31
# @File : project_detect_log.py
# @IDE : PyCharm
# @desc : 项目推理记录信息
2025-04-17 15:57:16 +08:00
from fastapi import Depends, Query
2025-04-11 08:54:28 +08:00
from core.dependencies import Paging, QueryParams
class ProjectDetectLogParams(QueryParams):
2025-04-17 15:57:16 +08:00
def __init__(
self,
detect_id: int | None = Query(0, title="推理集合id"),
params: Paging = Depends()):
2025-04-11 08:54:28 +08:00
super().__init__(params)
2025-04-17 15:57:16 +08:00
self.detect_id = detect_id