Unverified Commit 26e34735 authored by Prabhat Roy's avatar Prabhat Roy Committed by GitHub
Browse files

[FBcode->GH] Added url to class mapping logic to manifold download (#3864)

Reviewed By: fmassa

Differential Revision: D28537606

fbshipit-source-id: beaf15f4e38a7d986ef26587383aa2aee3e48952
parent 6a543019
def _download_file_from_remote_location(fpath: str) -> None:
def _download_file_from_remote_location(fpath: str, url: str) -> None:
pass
......
......@@ -123,7 +123,7 @@ def download_url(
return
if _is_remote_location_available():
_download_file_from_remote_location(fpath)
_download_file_from_remote_location(fpath, url)
else:
# expand redirect chain if needed
url = _get_redirect_url(url, max_hops=max_redirect_hops)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment