Skip to content

Commit

Permalink
Initialize the variable n_cols_added (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
syou6162 authored Apr 6, 2024
1 parent 7756a80 commit ab83862
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dbt_osmosis/core/osmosis.py
Original file line number Diff line number Diff line change
Expand Up @@ -1059,6 +1059,7 @@ def update_schema_file_and_node(
) -> Tuple[int, int, int, int]:
"""Take action on a schema file mirroring changes in the node."""
logger().info(":microscope: Looking for actions for %s", node.unique_id)
n_cols_added = 0
if not self.skip_add_columns:
n_cols_added = self.add_missing_cols_to_node_and_model(
missing_columns, node, section, columns_db_meta
Expand Down

0 comments on commit ab83862

Please sign in to comment.