Skip to content

Conversation

Johann-S
Copy link
Member

@Johann-S Johann-S commented Mar 9, 2025

Hi 👋

I was using your API and I found expand parameter was missing in the API documentation but not on the Python lib (https://github.com/huggingface/huggingface_hub/blob/v0.29.2/src/huggingface_hub/hf_api.py#L1738)

Copy link
Member

@julien-c julien-c left a comment

Choose a reason for hiding this comment

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

lgtm, i would also document it in other endpoints too (datasets and spaces)?

asking @coyotte508 for a review

@SBrandeis SBrandeis requested a review from coyotte508 March 10, 2025 09:21
Copy link
Member

@coyotte508 coyotte508 left a comment

Choose a reason for hiding this comment

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

We can get the list by this url: https://huggingface.co/api/models?expand[]=wrong , lgtm

and yes we can document for datasets & spaces too

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants