Python Run Async Function In Angular