DownloaderURL
TypeSource
DownloaderURL(
url: str,
file_name_fallback: str | None
)
DownloaderURL
is a TypedDict
.
DownloaderURL
is the component property Downloader(url=...)
. It defines the URL
used to access the data to be downloaded.
Each time when this value is set, a download event will be triggered. After triggering the download event, this value will be reset by a blank string.
Aliases
This type can be acquired by
import dash_file_cache as dfc
dfc.DownloaderURL
dfc.components.DownloaderURL
dfc.components.typehints.DownloaderURL
Keywords
Keyword | Type | |
---|---|---|
url | str | The URL used to access the data to be downloaded. |
file_name_fallback | str | A maunally configured file name. If this file name is configured, it will be used when the file name cannot be parsed in the headers. This configuration is useful when the URL is from a cross-origin site. |