Skip to content
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

[HfApi] Remove unused parameter from method's docstring #2738

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

hanouticelina
Copy link
Contributor

closes #2731.
HfApi.get_safetensors_metadata() does not take filename as a parameter but it still appears in the method's docstring. This PR fixes the docstring accordingly.

@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.

@hanouticelina
Copy link
Contributor Author

bypassing a review approval as the PR only updates a method's docstring 🤗

@hanouticelina hanouticelina merged commit 2702ec2 into main Jan 6, 2025
17 checks passed
@hanouticelina hanouticelina deleted the fix-get-safetensors-metadata-doc branch January 6, 2025 14:37
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.

get_safetensors_metadata() has no actual filename parameter despite showing one in the documentation
2 participants