Javascript Create Async Function Python Parameters And Arguments