Skip to content

Commit

Permalink
fix: Mark list_relations_without_caching as available (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
voroninman authored Aug 30, 2023
1 parent 668190d commit ba819cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dbt/adapters/athena/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@ def _get_data_catalog(self, database: str) -> Optional[DataCatalogTypeDef]:
return athena.get_data_catalog(Name=database)["DataCatalog"]
return None

@available
def list_relations_without_caching(self, schema_relation: AthenaRelation) -> List[BaseRelation]:
data_catalog = self._get_data_catalog(schema_relation.database)
catalog_id = get_catalog_id(data_catalog)
Expand Down

0 comments on commit ba819cf

Please sign in to comment.