Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Replace Optional and Union typing with | in examples#42412

Closed
cyyever wants to merge 0 commit into
huggingface:mainfrom
cyyever:example_union3
Closed

Replace Optional and Union typing with | in examples#42412
cyyever wants to merge 0 commit into
huggingface:mainfrom
cyyever:example_union3

Conversation

@cyyever

@cyyever cyyever commented Nov 26, 2025

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR uses python 3.10 syntax for Optional and Union typing in examples.

@cyyever cyyever changed the title Use Python 3.10 typing Replace Optional and Union typing with | in examples Nov 26, 2025
@Rocketknight1

Copy link
Copy Markdown
Member

Looks good but pausing this merge until after the weekend while we prep for the v5 launch!

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