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

Replace | with Union type for Python 3.9 compatibility #1209

Merged
merged 3 commits into from
Sep 12, 2023

Conversation

Thoralf-M
Copy link
Member

Description of change

Replace | with Union type for Python 3.9 compatibility

Links to any relevant issues

Closes #1202

Type of change

  • Bug fix (a non-breaking change which fixes an issue)

How the change has been tested

Running an example with 3.9

kwek20
kwek20 previously approved these changes Sep 12, 2023
DaughterOfMars
DaughterOfMars previously approved these changes Sep 12, 2023
Copy link

@DaughterOfMars DaughterOfMars left a comment

Choose a reason for hiding this comment

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

I actually much prefer this syntax. I wonder if we can define types for them?

Copy link
Member

@thibault-martinez thibault-martinez left a comment

Choose a reason for hiding this comment

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

Conflicts

@Thoralf-M Thoralf-M merged commit 6dfe3a7 into iotaledger:develop Sep 12, 2023
3 checks passed
@Thoralf-M Thoralf-M deleted the python-3.9 branch September 12, 2023 14:03
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.

Verify min Python version requirement
4 participants