Starting with python 3.11, use StrEnum instead.
StrEnum
Python 3.11 introduced a breaking change to enums, where the string representation changed from 'value' to 'EnumName.value'.
'value'
'EnumName.value'