Typescript Static Variable In Function In Python