Update README with troubleshooting section

This commit is contained in:
Automated Action 2025-05-13 23:35:24 +00:00
parent 9586f0c506
commit 7f79ff82e8

View File

@ -70,6 +70,12 @@ taskmanagerapi/
uvicorn main:app --reload uvicorn main:app --reload
``` ```
## Troubleshooting
If you encounter a "PydanticUserError: A non-annotated attribute was detected" error:
- This is resolved by moving DB_DIR outside the Settings class in app/core/config.py
- A validation script (start.py) is included to verify the app loads correctly
## API Documentation ## API Documentation
FastAPI automatically generates interactive API documentation at: FastAPI automatically generates interactive API documentation at: