Skip to content

Commit 547bc72

Browse files
committed
fix: add default config to DbtContext.jinja_globals
1 parent 9f573b4 commit 547bc72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sqlmesh/dbt/context.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ def jinja_globals(self) -> t.Dict[str, JinjaGlobalAttribute]:
246246
"vars": AttributeDict(self.variables),
247247
"refs": AttributeDict({k: v.relation_info for k, v in self.refs.items()}),
248248
"sources": AttributeDict({k: v.relation_info for k, v in self.sources.items()}),
249+
"config": AttributeDict({"tags": []}),
249250
}
250251
if self.project_name is not None:
251252
output["project_name"] = self.project_name

0 commit comments

Comments
 (0)