-
Notifications
You must be signed in to change notification settings - Fork 382
Add notice for "createdAt" key in API #1091
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
Conversation
|
The documentation is not available anymore as the PR was closed or merged. |
docs/hub/api.md
Outdated
|
|
||
| This is equivalent to `huggingface_hub.list_models()`. | ||
|
|
||
| The key `createdAt` in the response begins on `2022-03-02T23:29:04.000Z` as a result of a special migration. |
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.
IMO this should be mentioned just once, under a # Repo creation times heading, with a wording like:
For all repos-returning API calls, the
createdAtattribute is the time when the repo was created.
Note that there is a special value of2022-03-02T23:29:04.000Zfor all repos that were created before we started storing the creation date.
cc'ing @Wauplin too
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.
Yeah sure
julien-c
left a comment
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 but wdyt @Wauplin?
Wauplin
left a comment
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.
Looks good! Will integrate it to huggingface_hub as well 🔥

For https://github.com/huggingface/moon-landing/pull/7991 (private)