Skip to content

Commit

Permalink
Fix #8398: Add typing to __init__ in base.py (#8568)
Browse files Browse the repository at this point in the history
  • Loading branch information
aranke authored Sep 6, 2023
1 parent 7e2a08f commit 9aff3ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changes/unreleased/Under the Hood-20230906-164901.yaml
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion core/dbt/task/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9aff3ca

Please sign in to comment.