I'm trying to run the docs "Expanded Example" found here: https://docs.litestar.dev/latest/
When I run it I get:
litestar.exceptions.dto_exceptions.InvalidAnnotationException: DTO narrowed with '<class 'my_app.models.User'>', handler type is '<class 'my_app.models.PartialUserDTO'>'
My file structure is as follows:
├── app.py
├── my_app
│ ├── controllers
│ │ └── user.py
│ ├── models.py
Is there something about the directory/file structure that is causing this? I was unclear where to copy past the code in the example.