Update README with troubleshooting section
This commit is contained in:
parent
9586f0c506
commit
7f79ff82e8
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user