Lines Matching full:download
26 """Download Simple API HTML.
30 attr: Contains the parameters for the download. They are grouped into a
37 * sources: list[str], the sources to download things for. Each value is
40 * netrc: The netrc parameter for ctx.download, see http_file for docs.
41 * auth_patterns: The auth_patterns parameter for ctx.download, see
101 fail("Failed to download metadata from urls: {}".format(
112 for download in downloads:
113 result = download.wait()
115 if result.success and download.pkg_normalized not in contents:
116 contents[download.pkg_normalized] = result.output
120 fail("Failed to download metadata from urls: {}".format(
131 url: str, the url parameter that can be passed to ctx.download.
135 * netrc: The netrc parameter for ctx.download, see http_file for docs.
136 * auth_patterns: The auth_patterns parameter for ctx.download, see
139 **download_kwargs: Any extra params to ctx.download.
143 A similar object to what `download` would return except that in result.out
148 # them to ctx.download if we want to correctly handle the relative URLs.
177 download = ctx.download(
186 # Simulate the same API as ctx.download has
188 … wait = lambda: _read_index_result(ctx, download.wait(), output, real_url, cache, cache_key),
191 return _read_index_result(ctx, download, output, real_url, cache, cache_key)