Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Provide __int__ instance method on enum types to support int(Enum.Member) #1654

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

Closed
wants to merge 1 commit into from

Conversation

lostmsu
Copy link
Member

@lostmsu lostmsu commented Dec 31, 2021

Added EnumOps.__int__, that provides __int__ method for type dictionaries of reflected enum types.

Does this close any currently open issues?

implements #1585

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • If an enhancement PR, please create docs and at best an example
  • Updated the CHANGELOG

@lostmsu lostmsu closed this Dec 31, 2021
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.

1 participant