easyidp.data.downloader._result¶
- easyidp.data.downloader._result(dataset, *, downloaded, extracted, ready)¶
Build a JSON-friendly download result dict.
- Parameters:
dataset (Dataset) – Dataset instance.
downloaded (bool) – Whether the archive was freshly downloaded.
extracted (bool) – Whether the archive was freshly extracted.
ready (bool) – Whether all required files are now present.
- Returns:
Result with
name,root,archive,downloaded,extracted,readyas JSON-friendly values.- Return type:
dict