Open
Description
(This is not the same issue with as #116)
Since the typing
module in Python 3.7 doesn't have _Union
class, AttributeError
occurs by below lines. To support Python 3.7 it should be fixed.
Lines 28 to 43 in 2f85525
p.s. @kanghyojun Could you explain why you used _Union
instead of Union
?
Relative links
- Kill __subclasscheck__ python/typing#283: Removed
UnionMeta
and added_Union
andUnion
- bpo-32226: PEP 560: improve typing module python/cpython#4906: Removed
_Union
.Union
is now using the new class_SpecialForm
.
Metadata
Metadata
Assignees
Labels
No labels