Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Use AML Run API to download run artefacts instead of blobxfer #219

Merged
merged 8 commits into from
Sep 16, 2020

Conversation

jaysnanavati
Copy link
Contributor

@jaysnanavati jaysnanavati commented Sep 14, 2020

This change migrates the currently blobxfer usage to download AML run output blobs using the AML Run API.

If False then the prefix is removed from the output file path.
:return: Destination path to the downloaded file(s)
"""
run = run or Run.get_context()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already have RUN_CONTEXT in azure_util

Comment on lines +32 to +34
get_run_and_download_pytest("refs/pull/219/merge", 6)
assert "No pytest result file" in str(ex)
downloaded = get_run_and_download_pytest("refs/pull/49/merge", 8)
downloaded = get_run_and_download_pytest("refs/pull/219/merge", 7)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docu in the lines above is now out of date

@ant0nsc ant0nsc merged commit 00050e7 into master Sep 16, 2020
@ant0nsc ant0nsc deleted the jananava/fix-download branch September 16, 2020 08:33
@ant0nsc ant0nsc linked an issue Sep 16, 2020 that may be closed by this pull request
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants