Open samsja opened 1 year ago
Yeah. Should be an easy fix, left operand here https://github.com/ilevkivskyi/typing_inspect/blob/master/typing_inspect.py#L232 should be MaybeUnionType is not None
instead of plain MaybeUnionType
. PRs are welcome!
Hey here is the PR : https://github.com/ilevkivskyi/typing_inspect/pull/97
Hey I think I found a bug
I believe
is_union_type
should always return a bool, and in this case it should return False