From d25e9bff90865c32f788815380927503917b9843 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Mon, 20 Jan 2025 13:35:18 +0000 Subject: [PATCH] updateCodeStyle --- src/sagemaker/predictor_async.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sagemaker/predictor_async.py b/src/sagemaker/predictor_async.py index c91c0b971c..84e39ce174 100644 --- a/src/sagemaker/predictor_async.py +++ b/src/sagemaker/predictor_async.py @@ -303,8 +303,8 @@ def check_failure_file(): output_thread.start() failure_thread.start() - while (not output_file_found.is_set() and - not failure_file_found.is_set() + while (not output_file_found.is_set() and + not failure_file_found.is_set() and not waiter_error_catched.is_set()): time.sleep(1)