Skip to content

Commit a174c1e

Browse files
author
Ubuntu
committed
updateCodeStyle
1 parent d25e9bf commit a174c1e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/sagemaker/predictor_async.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,8 @@ def check_failure_file():
304304
failure_thread.start()
305305

306306
while (not output_file_found.is_set() and
307-
not failure_file_found.is_set()
308-
and not waiter_error_catched.is_set()):
307+
not failure_file_found.is_set() and
308+
not waiter_error_catched.is_set()):
309309
time.sleep(1)
310310

311311
if output_file_found.is_set():
@@ -319,10 +319,10 @@ def check_failure_file():
319319
raise AsyncInferenceModelError(message=failure_response)
320320

321321
raise PollingTimeoutError(
322-
message="Inference could still be running",
323-
output_path=output_path,
324-
seconds=waiter_config.delay * waiter_config.max_attempts,
325-
)
322+
message="Inference could still be running",
323+
output_path=output_path,
324+
seconds=waiter_config.delay * waiter_config.max_attempts,
325+
)
326326

327327
def update_endpoint(
328328
self,

0 commit comments

Comments
 (0)