"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "1fe1e3caa44617047f149bcc0c0b566343b714a7"
Makes HfArgumentParser compatible with Python 3.9 (#9479)
Python 3.9 changed the format of the string serialization of `typing.Optional`. For example, `str(typing.Optional[str])` is `typing.Union[str, NoneType]` in python 3.8 and `typing.Optional[str]` in Python 3.9.
Showing
Please register or sign in to comment