Typescript Get Type Name As String Python Functions