From b4dec9eee014cc9e20d806f2b593db937d714846 Mon Sep 17 00:00:00 2001 From: Kshitij Aranke Date: Wed, 6 Sep 2023 16:47:29 +0100 Subject: [PATCH] Fix #8398: Add typing to __init__ in base.py --- .changes/unreleased/Under the Hood-20230906-164901.yaml | 6 ++++++ core/dbt/task/base.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changes/unreleased/Under the Hood-20230906-164901.yaml diff --git a/.changes/unreleased/Under the Hood-20230906-164901.yaml b/.changes/unreleased/Under the Hood-20230906-164901.yaml new file mode 100644 index 00000000000..f309a24ccc3 --- /dev/null +++ b/.changes/unreleased/Under the Hood-20230906-164901.yaml @@ -0,0 +1,6 @@ +kind: Under the Hood +body: Add typing to __init__ in base.py +time: 2023-09-06T16:49:01.150713+01:00 +custom: + Author: aranke + Issue: "8398" diff --git a/core/dbt/task/base.py b/core/dbt/task/base.py index 0aae0bd8851..3e7d7544578 100644 --- a/core/dbt/task/base.py +++ b/core/dbt/task/base.py @@ -193,7 +193,7 @@ def __init__(self, node): class BaseRunner(metaclass=ABCMeta): - def __init__(self, config, adapter, node, node_index, num_nodes): + def __init__(self, config, adapter, node, node_index, num_nodes) -> None: self.config = config self.adapter = adapter self.node = node