Skip to content

Commit

Permalink
Update airflow/api_fastapi/views/public/dag_run.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rawwar authored Oct 15, 2024
1 parent abf01d9 commit 444956d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/api_fastapi/views/public/dag_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async def get_dag_run(


@dag_run_router.delete(
"/{dag_run_id}", status_code=204, responses=create_openapi_http_exception_doc([401, 403, 404])
"/{dag_run_id}", status_code=204, responses=create_openapi_http_exception_doc([400, 401, 403, 404])
)
async def delete_dag_run(dag_id: str, dag_run_id: str, session: Annotated[Session, Depends(get_session)]):
"""Delete a DAG Run entry."""
Expand Down

0 comments on commit 444956d

Please sign in to comment.