Skip to content

Use S3CopyObjectOperator in example_comprehend_document_classifier - #44160

Merged
eladkal merged 1 commit into
apache:mainfrom
aws-mwaa:vincbeck/comprehend
Nov 19, 2024
Merged

Use S3CopyObjectOperator in example_comprehend_document_classifier#44160
eladkal merged 1 commit into
apache:mainfrom
aws-mwaa:vincbeck/comprehend

Conversation

@vincbeck

Copy link
Copy Markdown
Contributor

Today, the system test example_comprehend_document_classifier downloads 10 times the same file from Github and save it in s3. As a consequence, Github might block you access and return a 403. Let's be nice with Github and download it once and then copy it from s3 to s3


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg Bot added area:providers provider:amazon AWS/Amazon - related issues labels Nov 18, 2024

@ferruzzi ferruzzi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a non-blocking thought, otherwise I think it makes sense.

Comment thread providers/src/airflow/providers/amazon/aws/hooks/s3.py Outdated
@vincbeck
vincbeck force-pushed the vincbeck/comprehend branch from 83d97b6 to c6b5eb6 Compare November 18, 2024 21:34
@eladkal
eladkal merged commit a60d105 into apache:main Nov 19, 2024
@vincbeck
vincbeck deleted the vincbeck/comprehend branch November 19, 2024 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants