feat:get list in register status
This commit is contained in:
@@ -24,6 +24,11 @@ def create(coding: ThisModel = Body(...)):
|
||||
@shrink(repo.get_last)
|
||||
def get_last(project_id: UUID):
|
||||
pass
|
||||
|
||||
@router.get('/list/{project_id}', response_model=list[ThisModel], tags=_tag_base, description='صورت وضعیت در قسمت رسیدگی')
|
||||
@shrink(repo.get_list)
|
||||
def get_list(project_id: UUID):
|
||||
pass
|
||||
@router.put('/{_id}', response_model=ThisModel, tags=_tag_base, description='صورت وضعیت در قسمت رسیدگی')
|
||||
@shrink(repo.update)
|
||||
def update(_id: UUID, coding: ThisModel = Body(...)):
|
||||
|
||||
Reference in New Issue
Block a user