Skip to content

Commit

Permalink
Possible fix for setting Snowflake query tags
Browse files Browse the repository at this point in the history
  • Loading branch information
tatiana committed Sep 20, 2024
1 parent 33ca675 commit e9d70e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-sdk/src/astro/databases/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def hook(self) -> DbApiHook:
"""Return an instance of the database-specific Airflow hook."""
raise NotImplementedError

@property
@cached_property
def connection(self) -> sqlalchemy.engine.base.Connection:
"""Return a Sqlalchemy connection object for the given database."""
return self.sqlalchemy_engine.connect()
Expand Down

0 comments on commit e9d70e4

Please sign in to comment.