Skip to content

Commit

Permalink
code review comment -> use any()
Browse files Browse the repository at this point in the history
  • Loading branch information
mlarose committed Oct 7, 2024
1 parent 4fafd6a commit 60cdf38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ def resolve_hasRunMetricsEnabled(self, graphene_info: ResolveInfo):
return False

run_tags = self.dagster_run.tags
return any(get_boolean_tag_value(run_tags.get(tag) for tag in RUN_METRIC_TAGS))
return any(get_boolean_tag_value(run_tags.get(tag)) for tag in RUN_METRIC_TAGS)


class GrapheneIPipelineSnapshotMixin:
Expand Down

0 comments on commit 60cdf38

Please sign in to comment.