-
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* feat: render enum as (str, enum.Enum) (#637) * docs: fix typo in docs * fix(test): add missing newline in expected_result * feat: support (str, enum.Enum) and (enum.Enum) To use the @enum.nonmember decorator, we need Python >= 3.11. These changes aim at supporting (str, enum.Enum) and the use of @enum.nonmember for >= 3.11. But also to support >=3.8,<3.11 we omit @enum.nonmembmer and only use (enum.Enum). * docs: support >=3.11 (str, enum.Enum) and >=3.8,<3.11 (enum.Enum) --------- Co-authored-by: Marcos Schroh <[email protected]>
- Loading branch information
1 parent
dd109c1
commit 18e226e
Showing
13 changed files
with
780 additions
and
351 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.