mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-08-28 19:22:17 +08:00
13 lines
365 B
Python
13 lines
365 B
Python
# Copyright (c) Opendatalab. All rights reserved.
|
|
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
|