style: fix linter formatting issues

This commit is contained in:
Zamil Majdy
2026-01-22 21:39:07 -05:00
parent fd970c800c
commit a80f452ffe
3 changed files with 3 additions and 7 deletions

View File

@@ -1063,7 +1063,6 @@ def test_process_review_action_per_review_auto_approve_granularity(
return review_map.get(node_exec_id)
mock_get_reviews_for_user.side_effect = mock_get_review_by_id
# Mock process_all_reviews - return 3 approved reviews
mock_process_all_reviews = mocker.patch(

View File

@@ -208,9 +208,8 @@ async def process_review_action(
# Only create auto-approval if:
# 1. This review was approved
# 2. The review requested auto-approval
if (
review_result.status == ReviewStatus.APPROVED
and auto_approve_requests.get(node_exec_id, False)
if review_result.status == ReviewStatus.APPROVED and auto_approve_requests.get(
node_exec_id, False
):
try:
node_exec = await get_node_execution(node_exec_id)

View File

@@ -393,9 +393,7 @@ async def update_review_processed_status(node_exec_id: str, processed: bool) ->
)
async def cancel_pending_reviews_for_execution(
graph_exec_id: str, user_id: str
) -> int:
async def cancel_pending_reviews_for_execution(graph_exec_id: str, user_id: str) -> int:
"""
Cancel all pending reviews for a graph execution (e.g., when execution is stopped).