Typescript Create Class Object In Python Oops Project