Skip to content

Commit

Permalink
Proper indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyholcomb committed Jun 13, 2024
1 parent 45ecacc commit 109871e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ def transform_model(semantic_manifest: PydanticSemanticManifest) -> PydanticSema
if not metric.type_params.cumulative_type_params:
metric.type_params.cumulative_type_params = PydanticCumulativeTypeParams()

if metric.type_params.window and not metric.type_params.cumulative_type_params.window:
metric.type_params.cumulative_type_params.window = metric.type_params.window
if metric.type_params.grain_to_date and not metric.type_params.cumulative_type_params.grain_to_date:
metric.type_params.cumulative_type_params.grain_to_date = metric.type_params.grain_to_date
if metric.type_params.window and not metric.type_params.cumulative_type_params.window:
metric.type_params.cumulative_type_params.window = metric.type_params.window
if metric.type_params.grain_to_date and not metric.type_params.cumulative_type_params.grain_to_date:
metric.type_params.cumulative_type_params.grain_to_date = metric.type_params.grain_to_date

return semantic_manifest

0 comments on commit 109871e

Please sign in to comment.