From 5e7885e97f4aa0693b9aca04ba8aba80ca027020 Mon Sep 17 00:00:00 2001 From: Courtney Holcomb Date: Wed, 4 Sep 2024 21:53:56 -0700 Subject: [PATCH] Upgrade DSI (#1391) --- extra-hatch-configuration/requirements.txt | 2 +- metricflow-semantics/extra-hatch-configuration/requirements.txt | 2 +- .../metricflow_semantics/time/time_spine_source.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extra-hatch-configuration/requirements.txt b/extra-hatch-configuration/requirements.txt index c75395f53b..4f6dea0344 100644 --- a/extra-hatch-configuration/requirements.txt +++ b/extra-hatch-configuration/requirements.txt @@ -1,5 +1,5 @@ Jinja2>=3.1.3 -dbt-semantic-interfaces==0.7.1.dev0 +dbt-semantic-interfaces==0.7.1 more-itertools>=8.10.0, <10.2.0 pydantic>=1.10.0, <3.0 tabulate>=0.8.9 diff --git a/metricflow-semantics/extra-hatch-configuration/requirements.txt b/metricflow-semantics/extra-hatch-configuration/requirements.txt index eb3ba24d4b..13606ba1b8 100644 --- a/metricflow-semantics/extra-hatch-configuration/requirements.txt +++ b/metricflow-semantics/extra-hatch-configuration/requirements.txt @@ -1,4 +1,4 @@ -dbt-semantic-interfaces==0.7.1.dev0 +dbt-semantic-interfaces==0.7.1 graphviz>=0.18.2, <0.21 python-dateutil>=2.9.0, <2.10.0 rapidfuzz>=3.0, <4.0 diff --git a/metricflow-semantics/metricflow_semantics/time/time_spine_source.py b/metricflow-semantics/metricflow_semantics/time/time_spine_source.py index 27655a5c00..44cc937f53 100644 --- a/metricflow-semantics/metricflow_semantics/time/time_spine_source.py +++ b/metricflow-semantics/metricflow_semantics/time/time_spine_source.py @@ -46,7 +46,7 @@ def create_from_manifest(semantic_manifest: SemanticManifest) -> Dict[TimeGranul db_name=time_spine.node_relation.database, base_column=time_spine.primary_column.name, base_granularity=time_spine.primary_column.time_granularity, - custom_granularity_columns=[column.name for column in time_spine.custom_granularity_columns], + custom_granularity_columns=[column.name for column in time_spine.custom_granularities], ) for time_spine in semantic_manifest.project_configuration.time_spines }