Skip to content

Commit

Permalink
removed white space and changed to single-quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
OscarAdserballe committed Aug 5, 2024
1 parent 2974ce4 commit 40721ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions macros/materializations/model.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 40721ff

Please sign in to comment.