From 4b67b0b942d01055bc9a1890e2cd858103fc085f Mon Sep 17 00:00:00 2001 From: Xiaodong DENG Date: Tue, 15 Dec 2020 12:03:16 +0100 Subject: [PATCH] Remove inapplicable arg 'output' for CLI pools import/export (#13071) --- airflow/cli/cli_parser.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/airflow/cli/cli_parser.py b/airflow/cli/cli_parser.py index 38d8554b61206..ee72131972374 100644 --- a/airflow/cli/cli_parser.py +++ b/airflow/cli/cli_parser.py @@ -1023,19 +1023,13 @@ class GroupCommand(NamedTuple): name='import', help='Import pools', func=lazy_load_command('airflow.cli.commands.pool_command.pool_import'), - args=( - ARG_POOL_IMPORT, - ARG_OUTPUT, - ), + args=(ARG_POOL_IMPORT,), ), ActionCommand( name='export', help='Export all pools', func=lazy_load_command('airflow.cli.commands.pool_command.pool_export'), - args=( - ARG_POOL_EXPORT, - ARG_OUTPUT, - ), + args=(ARG_POOL_EXPORT,), ), ) VARIABLES_COMMANDS = (