Skip to content

Remove inapplicable arg 'output' for CLI pools import/export - #13071

Merged
XD-DENG merged 2 commits into
apache:masterfrom
XD-DENG:fix-pools-cli
Dec 15, 2020
Merged

XD-DENG merged 2 commits into
apache:masterfrom
XD-DENG:fix-pools-cli

Conversation

@XD-DENG

@XD-DENG XD-DENG commented Dec 14, 2020

Copy link
Copy Markdown
Member

-o/--output is not applicable for CLI airflow pools export or airflow pools import.
It should be removed.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, 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 UPDATING.md.

@XD-DENG XD-DENG added area:CLI type:bug-fix Changelog: Bug Fixes labels Dec 14, 2020
@XD-DENG XD-DENG added this to the Airflow 2.0.1 milestone Dec 14, 2020
@XD-DENG
XD-DENG requested review from ashb, kaxil and turbaszek December 14, 2020 20:19
@github-actions github-actions Bot added the okay to merge It's ok to merge this PR as it does not require more tests label Dec 14, 2020
@github-actions

Copy link
Copy Markdown
Contributor

The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest master or amend the last commit of the PR, and push it with --force-with-lease.

@github-actions

Copy link
Copy Markdown
Contributor

The Workflow run is cancelling this PR. It has some failed jobs matching ^Pylint$,^Static checks,^Build docs$,^Spell check docs$,^Backport packages$,^Provider packages,^Checks: Helm tests$,^Test OpenAPI*.

@XD-DENG

XD-DENG commented Dec 15, 2020

Copy link
Copy Markdown
Member Author

There is a flaky failure after rebasing to the latest fixed Master. Merging now.

@XD-DENG
XD-DENG merged commit 4b67b0b into apache:master Dec 15, 2020
@XD-DENG
XD-DENG deleted the fix-pools-cli branch December 15, 2020 11:03
kaxil pushed a commit that referenced this pull request Jan 21, 2021
potiuk pushed a commit that referenced this pull request Sep 9, 2026
Both commands advertised -o/--output in their help but never read the
value: #12704 replaced the table rendering with a fixed confirmation
message and left ARG_OUTPUT in the argument table. #13071 removed the
same orphaned flag from pools import/export but missed set and delete,
so the help has promised a format choice it cannot deliver ever since.
Dropping the flag makes the help truthful and brings the pools group in
line with connections and variables, where only list and get take -o.

Co-authored-by: Eason09053360 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:CLI okay to merge It's ok to merge this PR as it does not require more tests type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants