Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def evict(self, pipeline: beam.Pipeline) -> None:
def clear(self) -> None:
"""Clears the tracker of all user and derived pipelines."""
# Remove all local_tempdir of created pipelines.
for p in self._pid_to_pipelines.values():
for p in list(self._pid_to_pipelines.values()):
shutil.rmtree(p.local_tempdir, ignore_errors=True)

self._user_pipelines.clear()
Expand Down
Loading