From 2b819ee35087d20657c5515ecccb4d6d1994cf84 Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Thu, 12 Dec 2024 11:56:29 -0800 Subject: [PATCH] Fix argument name in `_create_data_sets` (#1568) As per title. --- tests_metricflow/fixtures/manifest_fixtures.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests_metricflow/fixtures/manifest_fixtures.py b/tests_metricflow/fixtures/manifest_fixtures.py index 7bcde44470..d5f2026b1e 100644 --- a/tests_metricflow/fixtures/manifest_fixtures.py +++ b/tests_metricflow/fixtures/manifest_fixtures.py @@ -234,7 +234,7 @@ def _data_set_to_read_nodes( @staticmethod def _create_data_sets( - multihop_semantic_manifest_lookup: SemanticManifestLookup, + semantic_manifest_lookup: SemanticManifestLookup, ) -> OrderedDict[str, SemanticModelDataSet]: """Convert the SemanticModels in the model to SqlDataSets. @@ -244,11 +244,11 @@ def _create_data_sets( # Use ordered dict and sort by name to get consistency when running tests. data_sets = OrderedDict() - semantic_models: Sequence[SemanticModel] = multihop_semantic_manifest_lookup.semantic_manifest.semantic_models + semantic_models: Sequence[SemanticModel] = semantic_manifest_lookup.semantic_manifest.semantic_models semantic_models = sorted(semantic_models, key=lambda x: x.name) converter = SemanticModelToDataSetConverter( - column_association_resolver=DunderColumnAssociationResolver(multihop_semantic_manifest_lookup) + column_association_resolver=DunderColumnAssociationResolver(semantic_manifest_lookup) ) for semantic_model in semantic_models: