File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,9 @@ def wait_for_orchestration_completion(
230230 current_state = self .get_orchestration_state (
231231 instance_id , fetch_payloads = fetch_payloads
232232 )
233- if current_state and helpers .is_orchestration_terminal_status (current_state .runtime_status ):
233+ if current_state and helpers .is_orchestration_terminal_status (
234+ current_state .runtime_status
235+ ):
234236 return current_state
235237
236238 # Poll for completion with exponential backoff to handle eventual consistency
@@ -243,7 +245,9 @@ def wait_for_orchestration_completion(
243245 instance_id , fetch_payloads = fetch_payloads
244246 )
245247
246- if current_state and helpers .is_orchestration_terminal_status (current_state .runtime_status ):
248+ if current_state and helpers .is_orchestration_terminal_status (
249+ current_state .runtime_status
250+ ):
247251 return current_state
248252
249253 time .sleep (poll_interval )
Original file line number Diff line number Diff line change 66import logging
77import os
88import random
9- import threading
10- import time
119from concurrent .futures import ThreadPoolExecutor
1210from datetime import datetime , timedelta
1311from threading import Event , Thread
You can’t perform that action at this time.
0 commit comments