Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyholcomb committed Oct 10, 2023
1 parent 8e5a48a commit 87f82b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metricflow/dataflow/builder/dataflow_plan_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ def _find_measure_recipe(
if len(node_to_evaluation) > 0:
# All source nodes cost the same. Get evaluation with lowest number of joins.
node_with_lowest_evaluation_cost = min(
node_to_evaluation, key=lambda x: len(node_to_evaluation[x].join_recipes)
node_to_evaluation, key=lambda node: len(node_to_evaluation[node].join_recipes)
)
evaluation = node_to_evaluation[node_with_lowest_evaluation_cost]
logger.info(
Expand Down

0 comments on commit 87f82b8

Please sign in to comment.