Skip to content

Add example Dags for Human in the loop operators - #53360

Merged
Lee-W merged 1 commit into
apache:mainfrom
astronomer:add-example-dags-to-htil-operators
Jul 19, 2025
Merged

Lee-W merged 1 commit into
apache:mainfrom
astronomer:add-example-dags-to-htil-operators

Conversation

@Lee-W

@Lee-W Lee-W commented Jul 15, 2025 •

Copy link
Copy Markdown
Member

Why

Closes: #52207

What

  1. Add example Dag example_hitl_operator to cover HITLEntryOperator, HITLOperator, HITLBranchOperator and ApprovalOperator usage.

^ 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 airflow-core/newsfragments.

@Lee-W
Lee-W force-pushed the add-example-dags-to-htil-operators branch 2 times, most recently from 373b433 to 17414ec Compare July 15, 2025 13:26
@Lee-W Lee-W changed the title docs(hitl): intialize example dag Add example Dags for Human in the loop operators Jul 15, 2025
@Lee-W
Lee-W marked this pull request as ready for review July 15, 2025 13:29
@Lee-W
Lee-W requested review from jason810496 and jscheffl July 15, 2025 13:29

@jscheffl jscheffl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Cool! Looking forward that the UI makes this click-able!
Can you converge the example to a single Dag? As with the paralle Example consolidation we actually attempt to shring-down the amount of Dags, here you are adding two. Best of course would be to add this to the storyline - and as it is going to be in standard provider, it can be in the base of standard example Dags.
Otherwise if this should stay for the moment separate and maybe also is an example to include in the docs, then it would be good to reduce to a single one.

@Lee-W
Lee-W force-pushed the add-example-dags-to-htil-operators branch from 17414ec to 7ea56c2 Compare July 19, 2025 15:41
@Lee-W

Lee-W commented Jul 19, 2025

Copy link
Copy Markdown
Member Author

Sure! Just updated it as one single Dag!

@Lee-W
Lee-W requested a review from jscheffl July 19, 2025 15:44
@Lee-W
Lee-W merged commit 11f5121 into apache:main Jul 19, 2025
@Lee-W
Lee-W deleted the add-example-dags-to-htil-operators branch July 19, 2025 20:35
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.

Adding example dags for Human-in-the-loop operators

3 participants