Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Sep 5, 2024
1 parent 90ddfb3 commit 591e5c1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dbt_common/behavior_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 591e5c1

Please sign in to comment.