Skip to content

Fix docstring of Json.cast_storage#8080

Merged
lhoestq merged 1 commit into
huggingface:mainfrom
albertvillanova:fix-json-docstring
Mar 19, 2026
Merged

Fix docstring of Json.cast_storage#8080
lhoestq merged 1 commit into
huggingface:mainfrom
albertvillanova:fix-json-docstring

Conversation

@albertvillanova

Copy link
Copy Markdown
Member

Fix docstring of Json.cast_storage.

This PR makes a minor change to the cast_storage method in the Json feature, updating its return type and documentation to better reflect its intended functionality.

  • Updated the cast_storage method to return a pa.JsonArray instead of a pa.Int64Array, and revised the docstring to accurately describe the return type.

@albertvillanova albertvillanova requested a review from lhoestq March 19, 2026 13:56
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

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.

@lhoestq lhoestq left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thx !

@lhoestq lhoestq merged commit 4a4813f into huggingface:main Mar 19, 2026
12 of 14 checks passed
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.

3 participants