vandonr-amz commented on code in PR #31816:
URL: https://github.com/apache/airflow/pull/31816#discussion_r1231313122


##########
airflow/providers/amazon/aws/operators/sagemaker.py:
##########
@@ -218,6 +229,7 @@ def __init__(
         self.max_attempts = max_attempts or 60
         self.max_ingestion_time = max_ingestion_time
         self.deferrable = deferrable
+        self.processing_job: dict[Any, Any] | None = None

Review Comment:
   if you want a dict like this to be returned at the end, then you should 
create it where you return it, otherwise it just makes the code more confusing 
to read



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to