Skip to content

Conversation

@Lee-W
Copy link
Member

@Lee-W Lee-W commented Jul 29, 2025

Why

Some options appear more than once in HITLOperator subclasses. Make them class variable instead magic string reduce the chance of typo

What

Making these magic string class variables


^ 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 get-rid-of-hitl-magic-string branch from 7891308 to 7474037 Compare July 29, 2025 03:05
@Lee-W Lee-W self-assigned this Jul 29, 2025
@Lee-W Lee-W requested a review from jscheffl July 30, 2025 11:19
@Lee-W Lee-W merged commit c922dfb into apache:main Jul 31, 2025
195 of 196 checks passed
@Lee-W Lee-W deleted the get-rid-of-hitl-magic-string branch July 31, 2025 01:43
@github-project-automation github-project-automation bot moved this from In review to Done in AIP-90 - Human in the loop Jul 31, 2025
ferruzzi pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants