Skip to content

Commit

Permalink
tidy in clause
Browse files Browse the repository at this point in the history
  • Loading branch information
lbk-fishtown authored Sep 12, 2022
1 parent 2152e13 commit 39fb4af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/create_constraints.sql
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
{%- set table_models = [] -%}
{%- for node in graph.nodes.values() | selectattr("unique_id", "in", test_model.depends_on.nodes)
{#- Update to include snapshot resource type -#}
if node.resource_type in ( ( "model, snapshot") )
if node.resource_type in ( ( "model", "snapshot") )
if node.config.materialized in( ("table", "incremental", "snapshot") ) -%}

{#- Append to our list of models &or snapshots for this test -#}
Expand Down

0 comments on commit 39fb4af

Please sign in to comment.