transformers
ExplicitEnum subclass str (JSON dump compatible)
#17933
Merged

ExplicitEnum subclass str (JSON dump compatible) #17933

sgugger merged 2 commits into huggingface:main from patch-1
BramVanroy
ExplicitEnum subclass str (JSON dump compatible)
6b378c94
HuggingFaceDocBuilderDev
allow union if one of the types is str
4b92288b
BramVanroy
BramVanroy BramVanroy requested a review from sgugger sgugger 3 years ago
sgugger
sgugger
sgugger approved these changes on 2022-06-29
sgugger
sgugger sgugger merged bc019b0e into main 3 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone