Skip to content

Commit

Permalink
[#4252] Serialization error when missing quotes in metrics model ref(…
Browse files Browse the repository at this point in the history
…) call (#4287)

automatic commit by git-black, original commits:
  bd950f6
  • Loading branch information
gshank authored and iknox-fa committed Feb 8, 2022
1 parent 6f95918 commit 9eac415
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/dbt/context/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1335,8 +1335,8 @@ def __call__(self, *args) -> str:
def validate_args(self, name, package):
if not isinstance(name, str):
raise ParsingException(
f'In a metrics section in {self.model.original_file_path} '
f'the name argument to ref() must be a string'
f"In a metrics section in {self.model.original_file_path} "
f"the name argument to ref() must be a string"
)


Expand Down

0 comments on commit 9eac415

Please sign in to comment.