Skip to content

Commit

Permalink
Merge pull request #706 from jaceksan/working
Browse files Browse the repository at this point in the history
  • Loading branch information
hkad98 authored Jul 2, 2024
2 parents c308b1b + d00e780 commit f1f0dae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gooddata-dbt/gooddata_dbt/dbt/profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
BasicCredentials,
CatalogDataSourceMotherDuck,
CatalogDataSourcePostgres,
CatalogDataSourceRedshift,
CatalogDataSourceSnowflake,
CatalogDataSourceVertica,
MotherDuckAttributes,
Expand Down Expand Up @@ -67,8 +68,8 @@ class DbtOutputRedshift(Base):
database: str = attrs.field(default=attrs.Factory(lambda self: self.dbname, takes_self=True))
schema: str

def to_gooddata(self, data_source_id: str, schema_name: str) -> CatalogDataSourcePostgres:
return CatalogDataSourcePostgres(
def to_gooddata(self, data_source_id: str, schema_name: str) -> CatalogDataSourceRedshift:
return CatalogDataSourceRedshift(
id=data_source_id,
name=self.title,
db_specific_attributes=RedshiftAttributes(
Expand Down

0 comments on commit f1f0dae

Please sign in to comment.