Typescript Get Array Object In Python