From c27e16fafaea428b4769ec97a3c462ae9139f6ab Mon Sep 17 00:00:00 2001 From: Will Deng Date: Tue, 12 Nov 2024 17:53:20 -0500 Subject: [PATCH] Remove unnecessary check against legacy field --- dbt_semantic_interfaces/validations/metrics.py | 3 ++- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dbt_semantic_interfaces/validations/metrics.py b/dbt_semantic_interfaces/validations/metrics.py index 83c9b0ee..aef07ed2 100644 --- a/dbt_semantic_interfaces/validations/metrics.py +++ b/dbt_semantic_interfaces/validations/metrics.py @@ -76,7 +76,8 @@ def validate_manifest(semantic_manifest: SemanticManifestT) -> Sequence[Validati else None ) if ( - type_params_field_value + field == "window" + and type_params_field_value and cumulative_type_params_field_value and cumulative_type_params_field_value != type_params_field_value ): diff --git a/pyproject.toml b/pyproject.toml index cfdd39b3..96439504 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "dbt-semantic-interfaces" -version = "0.8.0" +version = "0.8.1" description = 'The shared semantic layer definitions that dbt-core and MetricFlow use' readme = "README.md" requires-python = ">=3.8"