Appearance
Dependency wiring (Annotated aliases and container reads)
Applies to: **/dependencies.py
Checklist
- Dependencies are
Annotatedaliases over named reusable functions; flag lambdas or inlineDepends(...)call expressions in route signatures. - Framework boundary functions read ports from
request.app.state; flag direct infrastructure concrete construction or scattered settings resolution inside dependency functions. - A dependency that injects another takes plain parameters, not
Depends()on its own sub-dependencies. - No per-call settings resolution: configuration is resolved once and injected.