Remove FastAPI dependency from jail config service signatures
This commit is contained in:
@@ -119,6 +119,8 @@ The inverted import creates a hidden circular-dependency risk: if `health_check`
|
||||
|
||||
### TASK-04 — Remove `FastAPI` app instance from service signatures 🟠
|
||||
|
||||
**Status:** Completed ✅
|
||||
|
||||
**Where:**
|
||||
`backend/app/services/jail_config_service.py` — `activate_jail()` and `deactivate_jail()` function signatures accept `app: FastAPI` (guarded by `TYPE_CHECKING` on line 48, used at runtime on lines ~295, ~571).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user