Typescript Nested Class Python Initialize String