Typescript Get Function Parameters Python