-
Notifications
You must be signed in to change notification settings - Fork 570
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
✨ Add files_metadata
option to repo_info
#951
Conversation
The documentation is not available anymore as the PR was closed or merged. |
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.
Great, thanks @SBrandeis! Only left a comment.
562d711
to
c65207c
Compare
- Links to RepoInfo & RepoFile objects in docstring - Fix some typos / incorrectness
d270ea8
to
7539c4c
Compare
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 a lot for this PR! Very cool!
Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
This reverts commit d2b1f7f.
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.
@SBrandeis I approved with optional suggestions. It is more about sharing a hint about how I would I done things 🙂
Nice to have in #943
cc @mariosasko @lhoestq
cc @huggingface/moon-landing-back
This PR adds a new
files_metadata
flag toHfApi.repo_info
.When set to
True
, this flag fetches additional metadata in{Model|Dataset|Space}Info.siblings
: