Adds StrEnum
support for python3.11
#12035
Merged
10000
StrEnum
support for python3.11
#12035