Skip to content

Commit 551f727

Browse files
committed
fix: chang Any type to Exception
1 parent adcdcb8 commit 551f727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dbt_score/dbt_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class DbtNotInstalledException(Exception):
2121
class DbtParseException(Exception):
2222
"""Raised when dbt parse fails."""
2323

24-
def __init__(self, root_cause: Any | None = None):
24+
def __init__(self, root_cause: Exception | None = None):
2525
"""Initialize the exception."""
2626
super().__init__()
2727
self.root_cause = root_cause

0 commit comments

Comments
 (0)