caterva2.Dataset.get_download_url#
- Dataset.get_download_url()#
Get the download URL for a file.
- Returns:
The download URL.
- Return type:
str
Examples
>>> root = cat2.Root('foo') >>> file = root['ds-1d.b2nd'] >>> file.get_download_url() 'http://localhost:8002/api/fetch/foo/ds-1d.b2nd'