```python
from fastapi import FastAPI

import helpers  # noqa: F401  (the provided API)

app = FastAPI()


@app.get("/users/{user_id}")
def get_user(user_id: int) -> dict:
    """Return a user by ID."""
    return helpers.load_user(user_id)
```