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: Python version #58

Closed
wants to merge 1 commit into from
Closed

Conversation

Tari-dev
Copy link
Contributor

Summary

In flags, exit_on_error is used which was introduced in python 3.9 and in examples u have used | for typing.Union which was introduced in 3.10. This breaks backward compatibility

Checklist

  • This PR has breaking changes
  • This PR fixes an issue
  • This is not a code change
  • If code changes were made they have been tested
  • I have properly changed the docs to appeal to this change

In flags, exit_on_error is used which was introduced in python 3.9 and in examples u have used `|` for typing.Union which was introduced in 3.10. This breaks backward compatibility
@VincentRPS
Copy link
Owner

Union was not added in 3.10, from the docs it seems like it was added in 3.6. and I think you’re confusing this as | being a new feature in that version

@VincentRPS VincentRPS closed this Feb 22, 2022
@Tari-dev
Copy link
Contributor Author

I am not talking about Union. I mentioned about | syntax for Union which was introduced in 3.10
Few examples uses them

And exit_on_error used in Argument Parser in flags

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.

None yet

2 participants