Skip to content

Commit

Permalink
fix for creating ColumnMetadata (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
syou6162 authored Sep 6, 2023
1 parent 84be385 commit 74fb996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dbt_osmosis/core/osmosis.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def get_columns_meta(self, parts: Tuple[str, str, str]) -> Dict[str, ColumnMetad
]
if matching_models:
for col in matching_models[0]["columns"].values():
columns[self.column_casing(col['name'])] = ColumnMetadata(**col, name=self.column_casing(col['name']))
columns[self.column_casing(col["name"])] = ColumnMetadata(name=self.column_casing(col["name"]), type=col["type"], index=col["index"])
else:
return columns

Expand Down

0 comments on commit 74fb996

Please sign in to comment.