How to fix Input should be 'value1', 'value2' or 'value3' [type=enum] in Python | DevErrors