Skip to content

Commit f1f0dae

Browse files
authored
Merge pull request #706 from jaceksan/working
2 parents c308b1b + d00e780 commit f1f0dae

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gooddata-dbt/gooddata_dbt/dbt/profiles.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
BasicCredentials,
1212
CatalogDataSourceMotherDuck,
1313
CatalogDataSourcePostgres,
14+
CatalogDataSourceRedshift,
1415
CatalogDataSourceSnowflake,
1516
CatalogDataSourceVertica,
1617
MotherDuckAttributes,
@@ -67,8 +68,8 @@ class DbtOutputRedshift(Base):
6768
database: str = attrs.field(default=attrs.Factory(lambda self: self.dbname, takes_self=True))
6869
schema: str
6970

70-
def to_gooddata(self, data_source_id: str, schema_name: str) -> CatalogDataSourcePostgres:
71-
return CatalogDataSourcePostgres(
71+
def to_gooddata(self, data_source_id: str, schema_name: str) -> CatalogDataSourceRedshift:
72+
return CatalogDataSourceRedshift(
7273
id=data_source_id,
7374
name=self.title,
7475
db_specific_attributes=RedshiftAttributes(

0 commit comments

Comments
 (0)