Typescript Enumerate Class Properties In Python