Typescript Push To Array Python Methods