Skip to content

Commit

Permalink
fixup! Use helper function to find matching instance in dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyholcomb committed Nov 19, 2024
1 parent 299ec4e commit 3f57215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metricflow/dataset/sql_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def instances_for_time_dimensions(
if matching_instances != len(time_dimension_specs):
raise RuntimeError(
f"Unexpected number of time dimension instances found matching specs.\nSpecs: {time_dimension_specs}\n"
f"Instances: {matching_instances}"
f"Instances: {instances_to_return}"
)

return instances_to_return
Expand Down

0 comments on commit 3f57215

Please sign in to comment.