Python Fastapi Async Await Javascript