From 32b1fe7581be14abe98d7739f576350093293718 Mon Sep 17 00:00:00 2001 From: Joe Early Date: Thu, 8 Feb 2024 10:27:43 +0000 Subject: [PATCH] Remove old function --- streaming/base/format/base/writer.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/streaming/base/format/base/writer.py b/streaming/base/format/base/writer.py index 30331d7a8..c699e32c0 100644 --- a/streaming/base/format/base/writer.py +++ b/streaming/base/format/base/writer.py @@ -237,10 +237,6 @@ def get_config(self) -> Dict[str, Any]: 'size_limit': self.size_limit } - def clear_local(self) -> None: - """Remove the local directory, allowing it to be written to.""" - shutil.rmtree(self.local) - @abstractmethod def flush_shard(self) -> None: """Flush cached samples to storage, creating a new shard."""