Skip to content

Commit

Permalink
[CP][AIRFLOW-5560][EWT-480]: Allow no confirmation on reset dags in `…
Browse files Browse the repository at this point in the history
…airflow backfill` command. (twitter-forks#58)

CP of 8aa7a01
  • Loading branch information
abhishekbafna authored Sep 10, 2020
1 parent b3d7fb4 commit 0cd5928
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions airflow/bin/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def backfill(args, dag=None):
[dag],
start_date=args.start_date,
end_date=args.end_date,
confirm_prompt=True,
confirm_prompt=not args.yes,
include_subdags=False,
)

Expand Down Expand Up @@ -1952,7 +1952,7 @@ class CLIFactory(object):
" within the backfill date range.",
'args': (
'dag_id', 'task_regex', 'start_date', 'end_date',
'mark_success', 'local', 'donot_pickle',
'mark_success', 'local', 'donot_pickle', 'yes',
'bf_ignore_dependencies', 'bf_ignore_first_depends_on_past',
'subdir', 'pool', 'delay_on_limit', 'dry_run', 'verbose', 'conf',
'reset_dag_run', 'rerun_failed_tasks', 'run_backwards'
Expand Down
2 changes: 1 addition & 1 deletion airflow/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
# under the License.
#

version = '1.10.4+twtr17'
version = '1.10.4+twtr18'

0 comments on commit 0cd5928

Please sign in to comment.