Skip to content

Commit a23e88b

Browse files
committed
lint
Signed-off-by: Filinto Duran <[email protected]>
1 parent 0126d47 commit a23e88b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

durabletask/client.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

durabletask/worker.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
import logging
77
import os
88
import random
9-
import threading
10-
import time
119
from concurrent.futures import ThreadPoolExecutor
1210
from datetime import datetime, timedelta
1311
from threading import Event, Thread

0 commit comments

Comments
 (0)