Skip to content

Remove duplicate code in cli_config.py - #70785

Merged
potiuk merged 2 commits into
apache:mainfrom
rjgoyln:Remove_duplicate_code
Jul 30, 2026
Merged

Remove duplicate code in cli_config.py#70785
potiuk merged 2 commits into
apache:mainfrom
rjgoyln:Remove_duplicate_code

Conversation

@rjgoyln

Copy link
Copy Markdown
Contributor

This PR primarily removes the duplicated code from src/airflowctl/ctl/cli_config.py.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@henry3260henry3260 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.

Could you resolve conflicts?

@rjgoyln
rjgoylnforce-pushed the Remove_duplicate_code branch from 471a30d to 04a6c1dCompareJuly 30, 2026 18:31
@rjgoyln

Copy link
Copy Markdown
ContributorAuthor

Could you resolve conflicts?

Yes. I did it! Thanks.

@henry3260

Copy link
Copy Markdown
Contributor

CI error might be fixed by #70776

@potiuk
potiuk merged commit e9dadbc into apache:mainJul 30, 2026
67 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Backport failed to create: airflow-ctl/v0-1-test. View the failure log Run details

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

StatusBranchResult
airflow-ctl/v0-1-testCommit Link

You can attempt to backport this manually by running:

cherry_picker e9dadbc airflow-ctl/v0-1-test

This should apply the commit to the airflow-ctl/v0-1-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

dabla pushed a commit to dabla/airflow that referenced this pull request Aug 14, 2026
Co-authored-by: Henry Chen <henrychen@apache.org>
Sign up for freeto 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

@rjgoyln@henry3260@potiuk