download_specs_construct¶
Define constructor for downloader.DownloadSpecs objects.
Functions
|
Construct a list of |
- xbrl_filings_api.download_specs_construct.construct(files, filing, to_dir, stem_pattern, *, check_corruption, isfilingset=False)¶
Construct a list of
downloader.DownloadSpecsobjects.This function is used by methods
downloadanddownload_aiterof objectsFilingandFilingSetto get a list ofDownloadSpecsobjects for calls todownloadersubpackage functions.- Returns:
Instructions for a concrete download.
- Return type:
- Parameters:
files (Union[FileStringType, Iterable[FileStringType], Mapping[FileStringType, DownloadItem]])
filing (Filing)
to_dir (Union[str, PurePath, None])
stem_pattern (Union[str, None])
check_corruption (bool)
isfilingset (bool)