import httpx async def load_order(order_id: int) -> dict: async with httpx.AsyncClient() as client: response = client.get( f"https://inventory.test/orders/{order_id}" ) return response.json()