Skip to content

Conversation

@Lee-W
Copy link
Member

@Lee-W Lee-W commented Mar 23, 2023

Why making this change?

apache-airflow-providers-microsoft-azure treats the deferred execution of its operators and sensors differently, which might cause confusion. For example, AzureDataFactoryRunPipelineOperator uses the deferrable parameter to toggle deferred execution while we need to use another sensor for AzureDataFactoryPipelineRunStatusSensor (i.e., AzureDataFactoryPipelineRunStatusAsyncSensor) to achieve the same thing.

What's changed?

In this pull request, I move the deferred logic from AzureDataFactoryPipelineRunStatusAsyncSensor to AzureDataFactoryPipelineRunStatusSensor so that we can keep the consistency and reduce maintenance effort. Instead of removing AzureDataFactoryPipelineRunStatusAsyncSensor, I add a deprecation warning in case there're users using it.


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

Lee-W added 2 commits March 28, 2023 19:58
…ataFactoryPipelineRunStatusAsyncSensor to AzureDataFactoryPipelineRunStatusSensor
…eRunStatusSensor when its deferrable attribute is set to True
@Lee-W Lee-W force-pushed the merge-AzureDataFactoryPipelineRunStatusAsyncSensor-into-AzureDataFactoryPipelineRunStatusSensor branch from 18e8a85 to bbfcaaf Compare March 28, 2023 11:59
@Lee-W Lee-W marked this pull request as ready for review March 28, 2023 12:07
…eRunStatusSensor deferrable mode and deprecate AzureDataFactoryPipelineRunStatusAsyncSensor
@Lee-W Lee-W force-pushed the merge-AzureDataFactoryPipelineRunStatusAsyncSensor-into-AzureDataFactoryPipelineRunStatusSensor branch from bbfcaaf to 8121f18 Compare March 28, 2023 14:48
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