Closed MaciejHanszke closed 2 years ago
Since python 3.10, Union type has a name attribute, returning "Union" type, instead of "typing.Union[X, Y]" - to keep it backwards compatible (thus returning the old typing.Union type), it will be now stringified
Since python 3.10, Union type has a name attribute, returning "Union" type, instead of "typing.Union[X, Y]" - to keep it backwards compatible (thus returning the old typing.Union type), it will be now stringified