Typescript Get Property Name As String In Python