Skip to content

Commit

Permalink
Remove old function
Browse files Browse the repository at this point in the history
  • Loading branch information
JAEarly committed Feb 8, 2024
1 parent c7b9252 commit 2094c83
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions streaming/base/format/base/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down

0 comments on commit 2094c83

Please sign in to comment.