Skip to content

Conversation

@cyyever
Copy link
Contributor

@cyyever cyyever commented Nov 20, 2025

What does this PR do?

This PR uses Python 3.10 | for Union and Optional types.

Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
Copy link
Member

@Rocketknight1 Rocketknight1 left a comment

Choose a reason for hiding this comment

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

Changes LGTM! The failing test should be fixed with a rebase now that #42301 is merged

@cyyever
Copy link
Contributor Author

cyyever commented Nov 24, 2025

@Rocketknight1 It's green now.

Copy link
Member

@Rocketknight1 Rocketknight1 left a comment

Choose a reason for hiding this comment

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

Yep, changes LGTM now, and I like the modern style a lot more. Thank you!

@Rocketknight1 Rocketknight1 enabled auto-merge (squash) November 24, 2025 15:12
@Rocketknight1 Rocketknight1 merged commit 73a9bc3 into huggingface:main Nov 24, 2025
23 checks passed
@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.

@cyyever cyyever deleted the example_union branch November 24, 2025 23:33
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