Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add deferrable mode for S3KeySensor #31018

Merged
merged 37 commits into from
Jun 8, 2023
Merged

Add deferrable mode for S3KeySensor #31018

merged 37 commits into from
Jun 8, 2023

Conversation

sunank200
Copy link
Collaborator

@sunank200 sunank200 commented May 2, 2023

This PR donates the following S3KeySensor with a deferrable mode, waiting for one or multiple keys (a file-like instance on S3) to be in an S3 bucket. This was developed in astronomer-providers repository to apache-airflow.


cc: @phanikumv

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 AWS/Amazon - related issues labels May 2, 2023
@sunank200 sunank200 marked this pull request as ready for review May 10, 2023 02:22
@sunank200 sunank200 requested review from pankajastro and potiuk May 10, 2023 02:23
@potiuk
Copy link
Member

potiuk commented May 17, 2023

@ferruzzi @o-nikolas @vincbeck -> your feedback is welcome :)

@o-nikolas
Copy link
Contributor

CC @syedahsn for when you're back

@sunank200 sunank200 requested a review from vincbeck May 29, 2023 14:58
tests/providers/amazon/aws/compat.py Outdated Show resolved Hide resolved
airflow/providers/amazon/aws/hooks/s3.py Show resolved Hide resolved
@sunank200 sunank200 requested a review from vandonr-amz June 7, 2023 19:11
Comment on lines +24 to +26
from airflow.providers.amazon.aws.triggers.s3 import (
S3KeyTrigger,
)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
from airflow.providers.amazon.aws.triggers.s3 import (
S3KeyTrigger,
)
from airflow.providers.amazon.aws.triggers.s3 import S3KeyTrigger

nit

Copy link
Contributor

@ephraimbuddy ephraimbuddy Jun 8, 2023

Choose a reason for hiding this comment

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

So sorry. Didn't see this. Was on mobile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers provider:amazon-aws AWS/Amazon - related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants