Typescript Enum Get String Input In Python