You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/04/04 20:54:57 UTC

[GitHub] [airflow] eladkal commented on pull request #14076: GoogleDisplayVideo360SDFtoGCSOperator does not pass the correct resource_name to the download_media hook

eladkal commented on pull request #14076:
URL: https://github.com/apache/airflow/pull/14076#issuecomment-813097808


   @sarahamilton can you take a look at the failing test:
   ```
   tests/providers/google/marketing_platform/operators/test_display_video.py:317: 
   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
   
   self = <Task(GoogleDisplayVideo360SDFtoGCSOperator): test_task>, context = None
   
       def execute(self, context: dict) -> str:
           hook = GoogleDisplayVideo360Hook(
               gcp_conn_id=self.gcp_conn_id,
               delegate_to=self.delegate_to,
               api_version=self.api_version,
               impersonation_chain=self.impersonation_chain,
           )
           gcs_hook = GCSHook(
               gcp_conn_id=self.gcp_conn_id,
               delegate_to=self.delegate_to,
               impersonation_chain=self.impersonation_chain,
           )
       
           self.log.info("Retrieving operation...")
           operation = hook.get_sdf_download_operation(operation_name=self.operation_name)
       
           self.log.info("Creating file for upload...")
   >       resource_name = operation["response"]["resourceName"]
   E       KeyError: 'response'
   ```


-- 
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:
users@infra.apache.org