Skip to content

Commit

Permalink
type ignore original_abspath + comment (#10583)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelleArk authored Aug 19, 2024
1 parent 75b956b commit b33faf5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/dbt/context/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,8 @@ def load_agate_table(self) -> "agate.Table":
table = agate_helper.from_csv(path, text_columns=column_types, delimiter=delimiter)
except ValueError as e:
raise LoadAgateTableValueError(e, node=self.model)
table.original_abspath = os.path.abspath(path)
# this is used by some adapters
table.original_abspath = os.path.abspath(path) # type: ignore
return table

@contextproperty()
Expand Down

0 comments on commit b33faf5

Please sign in to comment.