- Removed direct Player model imports from service methods - Added InMemoryQueryResult for mock-compatible filtering/sorting - Added RealPlayerRepository for real DB operations - Service now accepts AbstractPlayerRepository via constructor - Filtering and sorting work with both mocks and real DB - Tests can inject MockPlayerRepository for full test coverage This enables true unit testing without database dependencies. |
||
|---|---|---|
| .. | ||
| routers_v3 | ||
| services | ||
| __init__.py | ||
| db_engine.py | ||
| dependencies.py | ||
| main.py | ||