Skip to content

Conversation

@NJABULO-NDLOVU
Copy link

Description

  • Add check for types.UnionType to handle new union syntax

(int, False),
(Union[int, bytes], True),
(Optional[str], True),
(int | None, True),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes the tests for supported versions 3.8, and 3.9 fail. We need to work around this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants