Skip to content

Commit dfc2003

Browse files
committed
fix: apply sqlfmt formatting to get_pii_columns_from_parent_model.sql
1 parent df22ed5 commit dfc2003

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

macros/edr/system/system_utils/get_pii_columns_from_parent_model.sql

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,23 @@
3838
{% set column_nodes = parent_model.get("columns") %}
3939
{% if not column_nodes %} {% do return(pii_columns) %} {% endif %}
4040

41-
{% set enable_show_tags = elementary.get_config_var("enable_samples_on_show_sample_rows_tags") %}
41+
{% set enable_show_tags = elementary.get_config_var(
42+
"enable_samples_on_show_sample_rows_tags"
43+
) %}
4244
{% set raw_show_tags = elementary.get_config_var("show_sample_rows_tags") %}
4345
{% set show_tags = (
4446
(raw_show_tags if raw_show_tags is iterable else [raw_show_tags])
45-
| map("lower") | list
47+
| map("lower")
48+
| list
4649
) %}
4750

4851
{% for column_node in column_nodes.values() %}
4952
{% set all_column_tags_lower = elementary.get_column_tags(column_node) %}
5053

5154
{# Skip columns explicitly tagged to show sample rows (if feature is enabled) #}
52-
{% if enable_show_tags and elementary.lists_intersection(all_column_tags_lower, show_tags) | length > 0 %}
55+
{% if enable_show_tags and elementary.lists_intersection(
56+
all_column_tags_lower, show_tags
57+
) | length > 0 %}
5358
{% continue %}
5459
{% endif %}
5560

0 commit comments

Comments
 (0)