From 40721ffb7559223d5d9ee24c089d6b784718df10 Mon Sep 17 00:00:00 2001 From: OscarAdserballe Date: Mon, 5 Aug 2024 15:57:30 +0200 Subject: [PATCH] removed white space and changed to single-quotes --- macros/materializations/model.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/macros/materializations/model.sql b/macros/materializations/model.sql index 00858c6..af0cf8a 100644 --- a/macros/materializations/model.sql +++ b/macros/materializations/model.sql @@ -54,13 +54,13 @@ {%- set ml_config = config.get('ml_config', {}) -%} {%- set raw_labels = config.get('labels', {}) -%} {%- set sql_header = config.get('sql_header', none) -%} - + {{ sql_header if sql_header is not none }} create or replace model {{ relation }} - {% if ml_config.get("connection_name") %} - remote with connection `{{ ml_config.pop("connection_name") }}` + {% if ml_config.get('connection_name') %} + remote with connection `{{ ml_config.pop('connection_name') }}` {% endif %} {{ dbt_ml.model_options(