Functions¶
src.utils.download.download_cloudfront(url: yarl.URL, path: Path, callback: Optional[Callable] = None) -> bool
¶
Download a template from cloudfront cached Amazon S3 bucket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
url
|
URL
|
URL to S3/cloudfront hosted file. |
required |
path
|
Path
|
Path to save the archive. |
required |
callback
|
Callable | None
|
Callback function to update progress. |
None
|
Returns:
| Type | Description |
|---|---|
bool
|
True if download is successful, otherwise False. |