MCPcopy
hub / github.com/huggingface/datasets / _resolve_data_files

Method _resolve_data_files

src/datasets/builder.py:208–211  ·  view source on GitHub ↗
(self, base_path: str, download_config: DownloadConfig)

Source from the content-addressed store, hash-verified

206 return self.name
207
208 def _resolve_data_files(self, base_path: str, download_config: DownloadConfig) -> None:
209 if isinstance(self.data_files, DataFilesPatternsDict):
210 base_path = xjoin(base_path, self.data_dir) if self.data_dir else base_path
211 self.data_files = self.data_files.resolve(base_path, download_config)
212
213
214class DatasetBuilder:

Calls 2

xjoinFunction · 0.85
resolveMethod · 0.45