dummy.py 315 Bytes
Newer Older
luopl's avatar
luopl committed
1
2
3
4
5
6
7
8
9
10
11
from .base import DataWriter


class DummyDataWriter(DataWriter):
    def write(self, path: str, data: bytes) -> None:
        """Dummy write method that does nothing."""
        pass

    def write_string(self, path: str, data: str) -> None:
        """Dummy write_string method that does nothing."""
        pass