-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
Deferrable mode for S3ToGCSOperator #29462
Conversation
6925d4e
to
3469f13
Compare
airflow/providers/google/cloud/triggers/cloud_storage_transfer_service.py
Outdated
Show resolved
Hide resolved
c6b8ac5
to
74f43c0
Compare
74f43c0
to
d682908
Compare
@kaxil , hi, |
docs/apache-airflow-providers-google/operators/transfer/s3_to_gcs.rst
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @pankajastro Could you review this too please
airflow/providers/google/cloud/hooks/cloud_storage_transfer_service.py
Outdated
Show resolved
Hide resolved
airflow/providers/google/cloud/triggers/cloud_storage_transfer_service.py
Show resolved
Hide resolved
tests/providers/google/cloud/hooks/test_cloud_storage_transfer_service_async.py
Outdated
Show resolved
Hide resolved
tests/providers/google/cloud/hooks/test_cloud_storage_transfer_service_async.py
Outdated
Show resolved
Hide resolved
airflow/providers/google/cloud/triggers/cloud_storage_transfer_service.py
Show resolved
Hide resolved
tests/providers/google/cloud/hooks/test_cloud_storage_transfer_service_async.py
Outdated
Show resolved
Hide resolved
955d134
to
ef075b4
Compare
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. |
24e653e
to
323fc3b
Compare
Hi @potiuk @pankajastro ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We had a recent change on how we treat default deferrable setting and we need to adjust this one too: #31712
One more case in point @Lee-W that we need to add a pre-commit checking the defferrable convention, otherwise we will end up will all kind of mess where some deferrable parameters will have the default values following the convention and some not.
@moiseenkov - can you please update the change to follow this patterm?
@Lee-W -> will it be possible that you add such pre-commit (#32355 (comment)) ?
@potiuk Sure! Sorry for the late reply. I'm already working on it. |
Cool! :) |
323fc3b
to
8cebb30
Compare
Thanks for the update! I will update PR and ping you afterwards |
9967ad6
to
26f5de7
Compare
26f5de7
to
02cb3ac
Compare
02cb3ac
to
6d91991
Compare
airflow/providers/google/cloud/hooks/cloud_storage_transfer_service.py
Outdated
Show resolved
Hide resolved
airflow/providers/google/cloud/hooks/cloud_storage_transfer_service.py
Outdated
Show resolved
Hide resolved
airflow/providers/google/cloud/hooks/cloud_storage_transfer_service.py
Outdated
Show resolved
Hide resolved
airflow/providers/google/cloud/hooks/cloud_storage_transfer_service.py
Outdated
Show resolved
Hide resolved
airflow/providers/google/cloud/triggers/cloud_storage_transfer_service.py
Outdated
Show resolved
Hide resolved
ee22f81
to
4a23c8f
Compare
a2e9949
to
51f7f61
Compare
Implement deferrable mode for S3ToGCSOperator Update airflow/providers/google/cloud/hooks/cloud_storage_transfer_service.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> Update airflow/providers/google/cloud/hooks/cloud_storage_transfer_service.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> Update airflow/providers/google/cloud/transfers/s3_to_gcs.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> Update airflow/providers/google/cloud/transfers/s3_to_gcs.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> Update airflow/providers/google/cloud/transfers/s3_to_gcs.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> Update airflow/providers/google/cloud/triggers/cloud_storage_transfer_service.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> Address code review comments
51f7f61
to
a2e4755
Compare
@potiuk |
^ 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.