完成推理模块的转移
This commit is contained in:
@ -6,10 +6,14 @@
|
||||
# @IDE : PyCharm
|
||||
# @desc : 项目推理记录信息
|
||||
|
||||
from fastapi import Depends
|
||||
from fastapi import Depends, Query
|
||||
from core.dependencies import Paging, QueryParams
|
||||
|
||||
|
||||
class ProjectDetectLogParams(QueryParams):
|
||||
def __init__(self, params: Paging = Depends()):
|
||||
def __init__(
|
||||
self,
|
||||
detect_id: int | None = Query(0, title="推理集合id"),
|
||||
params: Paging = Depends()):
|
||||
super().__init__(params)
|
||||
self.detect_id = detect_id
|
||||
|
Reference in New Issue
Block a user