From 7f79ff82e88b3d2807afea121984167631bbe824 Mon Sep 17 00:00:00 2001 From: Automated Action Date: Tue, 13 May 2025 23:35:24 +0000 Subject: [PATCH] Update README with troubleshooting section --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index de5505c..5022bfc 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,12 @@ taskmanagerapi/ 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 FastAPI automatically generates interactive API documentation at: