diff --git a/dbt_common/behavior_flags.py b/dbt_common/behavior_flags.py index d60fbdb..e94b52f 100644 --- a/dbt_common/behavior_flags.py +++ b/dbt_common/behavior_flags.py @@ -94,11 +94,18 @@ class Behavior: ```python if adapter.behavior.my_flag: ... + + if adapter.behavior.my_flag.no_warn: # this will not fire the deprecation event + ... ``` ```jinja {% if adapter.behavior.my_flag %} ... {% endif %} + + {% if adapter.behavior.my_flag.no_warn %} {# this will not fire the deprecation event #} + ... + {% endif %} ``` Args: