Since the typing module in Python 3.7 doesn't have TupleMeta class, AttributeError occurs by below line . To support Python 3.7 it should be fixed.
|
elif type(cls) is typing.TupleMeta: |
relative commit: python/cpython@d911e40#diff-015978a768b517a38abbc0ecdea87f5a