Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
leo-schick committed Apr 8, 2024
1 parent 4c7323c commit 3104b2b
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .changes/unreleased/Features-20231107-132842.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kind: Features
body: add flag --no-skip-on-failture
body: add flag --no-skip-on-failure
time: 2023-11-07T13:28:42.420727773+01:00
custom:
Author: leo-schick
Expand Down
8 changes: 4 additions & 4 deletions core/dbt/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def cli(ctx, **kwargs):
@p.exclude
@p.full_refresh
@p.include_saved_query
@p.no_skip_on_failture
@p.no_skip_on_failure
@p.profile
@p.profiles_dir
@p.project_dir
Expand Down Expand Up @@ -558,7 +558,7 @@ def parse(ctx, **kwargs):
@global_flags
@p.exclude
@p.full_refresh
@p.no_skip_on_failture
@p.no_skip_on_failure
@p.profile
@p.profiles_dir
@p.project_dir
Expand Down Expand Up @@ -595,7 +595,7 @@ def run(ctx, **kwargs):
@p.project_dir
@p.profiles_dir
@p.vars
@p.no_skip_on_failture
@p.no_skip_on_failure
@p.profile
@p.target
@p.threads
Expand Down Expand Up @@ -691,7 +691,7 @@ def run_operation(ctx, **kwargs):
@global_flags
@p.exclude
@p.full_refresh
@p.no_skip_on_failture
@p.no_skip_on_failure
@p.profile
@p.profiles_dir
@p.project_dir
Expand Down
6 changes: 3 additions & 3 deletions core/dbt/cli/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@
help="Stop execution on first failure.",
)

no_skip_on_failture = click.option(
"--no-skip-on-failture",
envvar="DBT_NO_SKIP_ON_FAILTURE",
no_skip_on_failure = click.option(
"--no-skip-on-failure",
envvar="DBT_NO_SKIP_ON_FAILURE",
help="Proceed with downstream nodes even if an upstream node fails.",
is_flag=True,
)
Expand Down
2 changes: 1 addition & 1 deletion core/dbt/flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def get_flag_dict():
"log_format",
"version_check",
"fail_fast",
"no_skip_on_failture",
"no_skip_on_failure",
"send_anonymous_usage_stats",
"printer_width",
"indirect_selection",
Expand Down
4 changes: 2 additions & 2 deletions core/dbt/task/runnable.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,8 @@ def _mark_dependent_errors(
) -> None:
if self.graph is None:
raise DbtInternalError("graph is None in _mark_dependent_errors")
no_skip_on_failture = get_flags().NO_SKIP_ON_FAILTURE
if not no_skip_on_failture:
no_skip_on_failure = get_flags().NO_SKIP_ON_FAILURE
if not no_skip_on_failure:
for dep_node_id in self.graph.get_dependent_nodes(UniqueId(node_id)):
self._skipped_children[dep_node_id] = cause

Expand Down
2 changes: 1 addition & 1 deletion core/dbt/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def args_to_dict(args):
"debug",
"full_refresh",
"fail_fast",
"no_skip_on_failture",
"no_skip_on_failure",
"warn_error",
"single_threaded",
"log_cache_events",
Expand Down

0 comments on commit 3104b2b

Please sign in to comment.