Please support non-string-valued enumerations #640
Unanswered
NeilGirdhar
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Instead of:
Please allow:
Description
Please support non-string-valued enumerations. Would it be possible to just use the enumeration element name as the key for the purpose of command line argument parsing? You would pass the same enumeration element into the function, but the user could access the value attribute.
Operating System
Linux
Typer Version
0.9.0
Python Version
3.11
Beta Was this translation helpful? Give feedback.
All reactions