Skip to content

Commit

Permalink
Merge pull request #15 from get-select/new_keys
Browse files Browse the repository at this point in the history
Add new keys
  • Loading branch information
NiallRees authored Jun 23, 2023
2 parents 34ce69a + c54ef77 commit 40f5885
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changes/unreleased/Features-20230623-141155.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Features
body: Add full_refresh, which and invocation_command to comment
time: 2023-06-23T14:11:55.151949-07:00
custom:
Author: NiallRees
PR: "15"
8 changes: 8 additions & 0 deletions macros/query_comment.sql
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,16 @@
node_resource_type=node.resource_type,
node_meta=node.config.meta,
node_tags=node.tags,
full_refresh=flags.FULL_REFRESH,
which=flags.WHICH,
) -%}

{%- if flags.INVOCATION_COMMAND -%}
{%- do comment_dict.update(
invocation_command=flags.INVOCATION_COMMAND
) -%}
{%- endif -%}

{%- if node.resource_type != ('seed') -%} {# Otherwise this throws an error saying 'Seeds cannot depend on other nodes.' #}
{%- if node.refs is defined -%}
{% set refs = [] %}
Expand Down

0 comments on commit 40f5885

Please sign in to comment.