MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / api_delete

Function api_delete

backend/app/routes/auto/record.py:158–170  ·  view source on GitHub ↗
(
        request: Request,
        path_params: Dict = Depends(path_params_required),
        auth_info: Dict = Depends(auth_info_required),
    )

Source from the content-addressed store, hash-verified

156 responses={422: {"description": "Unprocessable Entity"}},
157 )
158 async def api_delete(
159 request: Request,
160 path_params: Dict = Depends(path_params_required),
161 auth_info: Dict = Depends(auth_info_required),
162 ):
163 check_path_params(
164 model_operator=ops,
165 object_id_required=True,
166 path_params=path_params,
167 )
168
169 await ops.delete(**path_params)
170 return RecordDeleteResponse()

Callers

nothing calls this directly

Calls 3

check_path_paramsFunction · 0.85
deleteMethod · 0.45

Tested by

no test coverage detected