Skip to content

Commit

Permalink
Remove unnecessary thread-local assignment in MetricFlowDagTextFormat…
Browse files Browse the repository at this point in the history
…ter.
  • Loading branch information
plypaul committed Feb 6, 2024
1 parent 63e7ffb commit 5b8167c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion metricflow/dag/dag_to_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5b8167c

Please sign in to comment.