Typescript Push To Array Python Definition