-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement download_artifact
#5448
Implement download_artifact
#5448
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your great proposal. I've actually been waiting for this feature.
Let me share my early comment.
@toshihikoyanase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your update!
I added two suggestions and a note.
Could you add an explanation of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR, I left some comments!
Could you please take another look?
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5448 +/- ##
==========================================
+ Coverage 89.52% 89.77% +0.24%
==========================================
Files 194 196 +2
Lines 12626 12582 -44
==========================================
- Hits 11303 11295 -8
+ Misses 1323 1287 -36 ☔ View full report in Codecov by Sentry. |
Co-authored-by: Shuhei Watanabe <47781922+nabenabe0928@users.noreply.github.com>
Co-authored-by: Naoto Mizuno <gobou522@gmail.com>
Co-authored-by: c-bata <contact@c-bata.link>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delayed response. My comments have been resolved.
@nabenabe0928 @c-bata Please merge after your review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the update!
I left some minor comments!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the update, LGTM!
Motivation
Although
upload_artifact
existed, its counterpart did not exist. This PR introduces a new APIdownload_artifact
as the counterpart. In order to have symmetry withupload_artifact
,download_artifact
has an interface that specifiesfile_path
as an argument.Description of the changes
download_artifact
download_artifact