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/02/04 16:25:46 UTC
[GitHub] [airflow] sarahamilton opened a new pull request #14076: Fixes Issue #14075 - GoogleDisplayVideo360SDFtoGCSOperator does not pass the correct resource_name to the download_media hook
sarahamilton opened a new pull request #14076:
URL: https://github.com/apache/airflow/pull/14076
The GoogleDisplayVideo360SDFtoGCSOperator calls the download_media hook and should pass in the name of the media resource to download. However, it is currently passing in the full resource object. This breaks the API call to download_media. This patch updates the operator to only push the resourceName.
----------------------------------------------------------------
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
[GitHub] [airflow] github-actions[bot] commented on pull request #14076: Fixes Issue #14075 - GoogleDisplayVideo360SDFtoGCSOperator does not pass the correct resource_name to the download_media hook
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #14076:
URL: https://github.com/apache/airflow/pull/14076#issuecomment-810671375
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.
--
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
[GitHub] [airflow] turbaszek commented on pull request #14076: Fixes Issue #14075 - GoogleDisplayVideo360SDFtoGCSOperator does not pass the correct resource_name to the download_media hook
Posted by GitBox <gi...@apache.org>.
turbaszek commented on pull request #14076:
URL: https://github.com/apache/airflow/pull/14076#issuecomment-778619547
@sarahamilton can you please take a look at the failing tests?
----------------------------------------------------------------
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
[GitHub] [airflow] github-actions[bot] closed pull request #14076: GoogleDisplayVideo360SDFtoGCSOperator does not pass the correct resource_name to the download_media hook
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed pull request #14076:
URL: https://github.com/apache/airflow/pull/14076
--
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
[GitHub] [airflow] eladkal commented on pull request #14076: GoogleDisplayVideo360SDFtoGCSOperator does not pass the correct resource_name to the download_media hook
Posted by GitBox <gi...@apache.org>.
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
[GitHub] [airflow] github-actions[bot] commented on pull request #14076: Fixes Issue #14075 - GoogleDisplayVideo360SDFtoGCSOperator does not pass the correct resource_name to the download_media hook
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #14076:
URL: https://github.com/apache/airflow/pull/14076#issuecomment-778619584
The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest master or amend the last commit of the PR, and push it with --force-with-lease.
----------------------------------------------------------------
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