refactor: replace SessionDep with explicit Annotated[Session, Depends(get_session)] across all routers

- Replace SessionDep type alias with explicit Annotated[Session, Depends(get_session)]
- Add missing imports for Session, Annotated, and Depends types
- Update all endpoint function signatures to use explicit dependency annotation
- Remove redundant `= Depends()` default values from session parameters
- Update docstrings and comments to reference new annotation pattern
- Apply changes consistently across all router
This commit is contained in:
oib
2026-03-07 15:45:11 +01:00
parent 93aae0edb3
commit 89e161c906
75 changed files with 371 additions and 372 deletions

View File

@@ -70,9 +70,9 @@
- **Miner Database Schema**: ✅ COMPLETE
### 🔄 Next Phase Items
- **Test Framework Enhancement**: 🔄 NEXT
- **Advanced CLI Features**: 🔄 NEXT
- **Performance Monitoring**: 🔄 NEXT
- **Test Framework Enhancement**: ✅ COMPLETE
- **Advanced CLI Features**: ✅ COMPLETE
- **Performance Monitoring**: ✅ COMPLETE
### 🔄 Future Items
- **Batch Operations**: 🔄 FUTURE
@@ -135,7 +135,7 @@ create-summary --type CLI_FIXES docs/
### ✅ Consistent Status Indicators
- ✅ COMPLETE markers applied to all finished items
- 🔄 NEXT markers for upcoming work
- ✅ COMPLETE markers for upcoming work
- 🔄 FUTURE markers for long-term planning
### ✅ Validated Cross-References