Typescript Nested Class Python Initialize Variable To Null