Skip to content

Commit

Permalink
make behavior available on BaseAdapter in the jinja context
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Sep 12, 2024
1 parent f0cfa51 commit fb95543
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions dbt/adapters/base/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,6 @@ def behavior(self) -> Behavior:

@behavior.setter # type: ignore
def behavior(self, flags: List[BehaviorFlag]) -> None:
"""
This can't be set with a setter/getter because we need to make `self.behavior`
available in the jinja context.
"""
flags.extend(self._behavior_flags)
try:
# we don't always get project flags, for example during `dbt debug`
Expand Down

0 comments on commit fb95543

Please sign in to comment.