Skip to content

Commit

Permalink
Add & validate cumulative type params & period agg
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyholcomb committed Jun 27, 2024
1 parent d41075e commit e71c6bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbt_semantic_interfaces/implementations/metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ class PydanticMetricTypeParams(HashableBaseModel):
numerator: Optional[PydanticMetricInput]
denominator: Optional[PydanticMetricInput]
expr: Optional[str]
window: Optional[PydanticMetricTimeWindow]
grain_to_date: Optional[TimeGranularity]
window: Optional[PydanticMetricTimeWindow] # warn if set
grain_to_date: Optional[TimeGranularity] # warn if set
metrics: Optional[List[PydanticMetricInput]]
conversion_type_params: Optional[PydanticConversionTypeParams]
cumulative_type_params: Optional[PydanticCumulativeTypeParams]
Expand Down

0 comments on commit e71c6bf

Please sign in to comment.