-
Notifications
You must be signed in to change notification settings - Fork 16.3k
feat: merge TimeDeltaSensorAsync to TimeDeltaSensor #51133
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
feat: merge TimeDeltaSensorAsync to TimeDeltaSensor #51133
Conversation
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide (https://github.com/apache/airflow/blob/main/contributing-docs/README.rst)
|
0013061 to
76d640f
Compare
providers/standard/src/airflow/providers/standard/sensors/time_delta.py
Outdated
Show resolved
Hide resolved
2919606 to
8920c7b
Compare
providers/standard/src/airflow/providers/standard/sensors/time_delta.py
Outdated
Show resolved
Hide resolved
eb8e0bc to
b5f7512
Compare
…_delta.py Co-authored-by: Wei Lee <weilee.rx@gmail.com>
b5b556f to
39ac8ac
Compare
|
merging. Test failures are not related to this PR |
|
Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions. |
|
If the #51192 is merged + cherry-picked to 3.0.2 -> we should also cherry-pick this one to get latest standard provider examples. |
* feat: merge TimeDeltaSensorAsync to TimeDeltaSensor * feat: add a test for deferrable TimeDeltaSensor * feat: add example, simplify code in TimeDeltaSensor (as per TimeSensor) * feat: PR comments & adapt failing tests due to deprecation * feat: get rid of airflow_venv/ from gitignore * feat: remove unused variables * Update providers/standard/src/airflow/providers/standard/sensors/time_delta.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * feat: resolve test errors --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
* feat: merge TimeDeltaSensorAsync to TimeDeltaSensor * feat: add a test for deferrable TimeDeltaSensor * feat: add example, simplify code in TimeDeltaSensor (as per TimeSensor) * feat: PR comments & adapt failing tests due to deprecation * feat: get rid of airflow_venv/ from gitignore * feat: remove unused variables * Update providers/standard/src/airflow/providers/standard/sensors/time_delta.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * feat: resolve test errors --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
Description
Allow TimeDeltaSensor to act as a deferrable by consuming a feature flag.
Added a deprecation warning for TimeDeltaSensorAsync to nudge users to use TimeDeltaSensor with deferrable=True instead.
Tests
Related Issues
Closes #50811
Checklist