Skip to content

Conversation

lhoestq
Copy link
Member

@lhoestq lhoestq commented Jun 23, 2025

Sequence is just a utility that we need to keep for backward compatibility. And [ ] was used instead but doesn't allow passing the length of the list.

This PR removes most mentions of Sequence and usage of [ ] and defines a proper List type instead.

before: Sequence(Value("int64")) or [Value("int64")]
now: List(Value("int64"))

This PR conserves full backward compatibility. And it's a good occasion with the release of 4.0.0

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

@lhoestq lhoestq merged commit 5b1d12d into main Jun 25, 2025
2 checks passed
@lhoestq lhoestq deleted the no-more-sequence branch June 25, 2025 13:59
@lhoestq lhoestq mentioned this pull request Jun 25, 2025
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.

2 participants