From 5b8167cb233a8b2483393153b7189c64565a54e0 Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Mon, 5 Feb 2024 11:37:30 -0800 Subject: [PATCH] Remove unnecessary thread-local assignment in MetricFlowDagTextFormatter. --- metricflow/dag/dag_to_text.py | 1 - 1 file changed, 1 deletion(-) diff --git a/metricflow/dag/dag_to_text.py b/metricflow/dag/dag_to_text.py index bcf76d8c3b..252e4bd723 100644 --- a/metricflow/dag/dag_to_text.py +++ b/metricflow/dag/dag_to_text.py @@ -68,7 +68,6 @@ def __init__( # In case this gets used in a multi-threaded context, use a thread-local variable since it has mutable state. self._thread_local_data = threading.local() - self._thread_local_data.max_width_tracker = MaxWidthTracker(max_width) @property def _max_width_tracker(self) -> MaxWidthTracker: # noqa: D