Skip to content

Commit

Permalink
Add type annotation for ResourceTypeSelector
Browse files Browse the repository at this point in the history
  • Loading branch information
dbeatty10 committed Sep 18, 2024
1 parent 7de6373 commit 3930eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/dbt/task/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def selection_arg(self):
else:
return self.args.select

def get_node_selector(self):
def get_node_selector(self) -> ResourceTypeSelector:
if self.manifest is None or self.graph is None:
raise DbtInternalError("manifest and graph must be set to get perform node selection")
if self.resource_types == [NodeType.Test]:
Expand Down

0 comments on commit 3930eef

Please sign in to comment.