Table.download_files
Last updated
Was this helpful?
Last updated
Was this helpful?
Downloads files associated with the table to the directory specified at path. Only relevant for tables that contain at least one variable with file ids.
path
: str
The path of the directory to download files. Will automatically create the directory if it doesn't exist. If not specified, defaults to the current working directory.
overwrite
: bool, default False
Whether to overwrite any existing files when downloading. If False, will throw an error if a file with the same name already exists at the provided path.
max_results
: int, default None
If specified, will only download up to the specified number of files
file_id_variable
: str, default None
The variable in the table containing file ids. Only required if the table contains more than one file id variable.
progress
: bool, default True
Whether to show progress bar.
max_parallelization
: int, default os.cpu_count() * 5
The maximum concurrency when downloading files. Higher numbers are better for lots of small files, while lower numbers will improve performance with several large files.
list<>