turbaszek commented on a change in pull request #14074:
URL: https://github.com/apache/airflow/pull/14074#discussion_r575667283



##########
File path: 
airflow/providers/google/marketing_platform/operators/display_video.py
##########
@@ -635,6 +635,10 @@ def execute(self, context: dict) -> Dict[str, Any]:
         self.log.info("Creating operation for SDF download task...")
         operation = 
hook.create_sdf_download_operation(body_request=self.body_request)
 
+        name = operation["name"]
+        self.xcom_push(context, key="name", value=name)
+        self.log.info("Created SDF operation with name: %s", name)

Review comment:
       Nice! This will definitely simplify accessing the value - currently 
users still can access it doing via `{{ 
task_instance.xcom_pull("task_id")["name"] }}`




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

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


Reply via email to