Commit b2c6f80f authored by Wei Shoulin's avatar Wei Shoulin
Browse files

refactor(level0): update qc status API endpoint

- Change the API endpoint for updating QC status from "/api/level0/qc_status/batch" to "/api/level0/qc_status/batch/update"
- This change improves the clarity and specificity of the API endpoint, making it more intuitive for developers
parent 2cf4016e
Pipeline #9473 failed with stages
in 0 seconds
...@@ -136,7 +136,7 @@ def update_qc_status_by_ids(ids: List[str], qc_status: int) -> Result: ...@@ -136,7 +136,7 @@ def update_qc_status_by_ids(ids: List[str], qc_status: int) -> Result:
Returns: Returns:
Result: 更新结果 Result: 更新结果
""" """
return request.put("/api/level0/qc_status/batch", {'qc_status': qc_status, 'ids': ids}) return request.put("/api/level0/qc_status/batch/update", {'qc_status': qc_status, 'ids': ids})
def update_prc_status(level0_id: str, dag_run: str, prc_status: int, dataset: str) -> Result: def update_prc_status(level0_id: str, dag_run: str, prc_status: int, dataset: str) -> Result:
""" """
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment