ArgumentParser natively supports 'choices'.
Choices cannot be type hinted by attrs attributes.
You know what can?
Enum
If your interested in how to joyfully use Enums in python, check out Making Enums (as always, arguably) more Pythonic
ArgumentParser natively supports 'choices'.
Choices cannot be type hinted by attrs attributes.
You know what can?
Enum
If your interested in how to joyfully use Enums in python, check out Making Enums (as always, arguably) more Pythonic