easyidp.data.downloader._download_openxlab

easyidp.data.downloader._download_openxlab(mirror_config, archive, progress)

Download a file from OpenXLab anonymously via the v3 API.

Parameters:
  • mirror_config (Mapping) – Mirror config with dataset_repo and source_path keys.

  • archive (Path) – Target file path for the downloaded archive.

  • progress (bool) – Show a progress bar.

Raises:

RuntimeError – On API error, missing metadata, or download verification failure.