MCPcopy Create free account
hub / github.com/OpenDCAI/DataFlow-MM / __init__

Method __init__

dataflow/utils/storage.py:26–35  ·  view source on GitHub ↗
(
        self,
        cache_path:str=None,
        file_name_prefix:str=None,  
        cache_type: Literal["json", "jsonl", "csv", "parquet", "pickle", None] = None
    )

Source from the content-addressed store, hash-verified

24
25class DummyStorage(DataFlowStorage):
26 def __init__(
27 self,
28 cache_path:str=None,
29 file_name_prefix:str=None,
30 cache_type: Literal["json", "jsonl", "csv", "parquet", "pickle", None] = None
31 ):
32 self._data = None
33 self.cache_path = cache_path
34 self.file_name_prefix = file_name_prefix
35 self.cache_type = cache_type
36
37 def set_data(self, data: Any):
38 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected