Issue:
- No
_Union
in typing anymore - Cannot check if field type is instance of
typing.Optional
nortyping.Union
directly. (thoughtyping.Optional[T]
works) - For now, this hot fix checks ALL
typing.Generic
whether has parameterized typeNone
and consider it as optional type