mobuchowski commented on code in PR #31816:
URL: https://github.com/apache/airflow/pull/31816#discussion_r1267932384


##########
airflow/providers/amazon/aws/operators/sagemaker.py:
##########
@@ -275,14 +287,53 @@ def execute(self, context: Context) -> dict:
                 method_name="execute_complete",
             )
 
-        return {"Processing": 
serialize(self.hook.describe_processing_job(self.config["ProcessingJobName"]))}
+        self.processing_job = {
+            "Processing": 
serialize(self.hook.describe_processing_job(self.config["ProcessingJobName"]))
+        }
+        return self.processing_job
 
     def execute_complete(self, context, event=None):
         if event["status"] != "success":
             raise AirflowException(f"Error while running job: {event}")
         else:
             self.log.info(event["message"])
-        return {"Processing": 
serialize(self.hook.describe_processing_job(self.config["ProcessingJobName"]))}
+        self.processing_job = {
+            "Processing": 
serialize(self.hook.describe_processing_job(self.config["ProcessingJobName"]))
+        }
+        return self.processing_job
+
+    def get_openlineage_facets_on_complete(self, task_instance):

Review Comment:
   Discussed this below - it's interface method.



-- 
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