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 functionality to the AirbyteJobSensor and AirbyteTriggerSyncOperator #36780

Merged
merged 23 commits into from
Jan 17, 2024

Conversation

chrishronek
Copy link
Contributor

@chrishronek chrishronek commented Jan 15, 2024

This PR introduces a new deferrable sensor for the Airbyte provider. It's a drop-in replacement for the AirbyteJobSensor. I've also included the AirbyteSyncTrigger alongside the new sensor with the logic to defer the task. I wrote tests for the trigger component and docs for the deferrable operator.

I am happy to continue iterating on this as needed - if I missed anything, let me know. It's my first PR that I'm merging into the Airflow project.


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

@chrishronek chrishronek changed the title Airbyte deferrable operator Add deferrable functionality to the AirbyteJobSensor Jan 15, 2024
.pre-commit-config.yaml Outdated Show resolved Hide resolved
airflow/providers/airbyte/hooks/airbyte.py Outdated Show resolved Hide resolved
airflow/providers/airbyte/hooks/airbyte.py Outdated Show resolved Hide resolved
airflow/providers/airbyte/sensors/airbyte.py Outdated Show resolved Hide resolved
airflow/providers/airbyte/hooks/airbyte.py Outdated Show resolved Hide resolved
airflow/providers/airbyte/hooks/airbyte.py Outdated Show resolved Hide resolved
@chrishronek chrishronek changed the title Add deferrable functionality to the AirbyteJobSensor Add deferrable functionality to the AirbyteJobSensor and AirbyteTriggerSyncOperator Jan 17, 2024
Copy link
Member

@pankajastro pankajastro left a comment

Choose a reason for hiding this comment

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

LGTM

@pankajastro pankajastro merged commit 3806a63 into apache:main Jan 17, 2024
54 checks passed
Copy link

boring-cyborg bot commented Jan 17, 2024

Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants