From 9eac415cb17c6656322724e8caff527d799b1ad3 Mon Sep 17 00:00:00 2001 From: Gerda Shank Date: Wed, 17 Nov 2021 17:14:32 -0500 Subject: [PATCH] [#4252] Serialization error when missing quotes in metrics model ref() call (#4287) automatic commit by git-black, original commits: bd950f687a743561a0e33705eee2433403dd6e47 --- core/dbt/context/providers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/dbt/context/providers.py b/core/dbt/context/providers.py index 0dbb910ddfd..75511ec3469 100644 --- a/core/dbt/context/providers.py +++ b/core/dbt/context/providers.py @@ -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" )