Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ def pause_backfill(backfill_id: NonNegativeInt, session: SessionDep) -> Backfill
raise HTTPException(status.HTTP_409_CONFLICT, "Backfill is already completed.")
if b.is_paused is False:
b.is_paused = True
session.commit()
return b


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,6 @@ def update_hitl_detail(
task_instance=locked_ti,
session=session,
)

session.commit()
return HITLDetailResponse.model_validate(hitl_detail_model)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ def update_hitl_detail(
hitl_detail_model.chosen_options = payload.chosen_options
hitl_detail_model.params_input = payload.params_input
session.add(hitl_detail_model)
session.commit()
return HITLDetailResponse.from_hitl_detail_orm(hitl_detail_model)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -481,5 +481,4 @@ def delete_xcom(
XComModel.map_index == map_index,
)
session.execute(query)
session.commit()
return {"message": f"XCom with key: {key} successfully deleted."}