Unstructuring of enum.Enum
instances in typing.Literal
types doesn't work
#321
Milestone
enum.Enum
instances in typing.Literal
types doesn't work
#321
Description
I was glad to see #231 which fixes the structuring of
enum.Enum
instances intyping.Literal
types. However, the unstructuring doesn't work yet. See this example (adapted from #231).What I Did
My temporary fix is rather straightforward, but it would be great if cattrs would work for this out of the box:
The text was updated successfully, but these errors were encountered: