MCPcopy Create free account
hub / github.com/Open-Bee/DataStudio / load

Method load

datastudio/datasets/formatters/base.py:34–43  ·  view source on GitHub ↗

Load data from file. Args: file_path: Path to the data file. Returns: list: List of data dictionaries.

(self, file_path: str)

Source from the content-addressed store, hash-verified

32
33 @abstractmethod
34 def load(self, file_path: str) -> list:
35 """Load data from file.
36
37 Args:
38 file_path: Path to the data file.
39
40 Returns:
41 list: List of data dictionaries.
42 """
43 pass
44
45 @abstractmethod
46 def save(self, data: list, file_path: str, **kwargs) -> None:

Callers 7

_loadMethod · 0.45
_load_sourcesMethod · 0.45
build_dataloadersFunction · 0.45
__init__Method · 0.45
_decode_oneMethod · 0.45
saveMethod · 0.45
_load_statsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected