Typescript Static Variable In Function In Python Definition