Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Python3.10 compatibility #18

Merged
merged 1 commit into from
Oct 1, 2024
Merged

Fix Python3.10 compatibility #18

merged 1 commit into from
Oct 1, 2024

Conversation

RB387
Copy link
Collaborator

@RB387 RB387 commented Oct 1, 2024

Description

Fixed compatibility with Python 3.10

It doesn't correctly unwraps Optional types on this version.
int | None == Optional[int] != Union[int, None]

Checklist

  • Tests covering the new functionality have been added
  • Documentation has been updated OR the change is too minor to be documented
  • Changes are listed in the CHANGELOG.md OR changes are insignificant

@RB387 RB387 merged commit 64f2f03 into main Oct 1, 2024
14 checks passed
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.

2 participants