Skip to content

Commit b8705f7

Browse files
committed
fix: Ignore types of dbt exceptions
1 parent 48ba2df commit b8705f7

File tree

1 file changed

+2
-2
lines changed
  • airflow_dbt_python/hooks

1 file changed

+2
-2
lines changed

airflow_dbt_python/hooks/dbt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,9 @@ def patch_manifest_task(self, task: ManifestTask):
186186
TypeError: If the dbt task is not a subclass of ManifestTask.
187187
"""
188188
try:
189-
from dbt.exceptions import InternalException as DbtException
189+
from dbt.exceptions import InternalException as DbtException # type: ignore
190190
except ImportError:
191-
from dbt.exceptions import DbtRuntimeError as DbtException
191+
from dbt.exceptions import DbtRuntimeError as DbtException # type: ignore
192192

193193
if isinstance(task, ManifestTask) is False:
194194
raise TypeError(

0 commit comments

Comments
 (0)