feat: update fastapi-app example - #75
Conversation
✅ Reviewer verdict: APPROVE (self-approval blocked — posting as comment)Reviewed against the 4 briefed items (task #773). All correctness checks pass. 1. Framework compatibility on FastAPI 0.139 / Starlette 0.50 — PASS
2. base_path — PASS
3. config/logging.py LoggingConfig — PASS
4. Ruff — PASS (CI Ruff check green;
|
🔄 Updated verdict: REQUEST CHANGES (supersedes my earlier approve)On a second pass — and per maintainer direction — the following need to change before this can merge. Correctness on 0.139 still checks out; these are about keeping the version pin and the example config in line with conventions. 1. Revert the FastAPI version bump — keep the pin as-isDo not bump to 0.139.0. Restore the original pin:
2.
|
✅ Re-review verdict: APPROVE (commit 27c4aee)All 3 REQUEST CHANGES items are resolved. Verified locally. 1. FastAPI version reverted — ✅
2.
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…conventions - bootstrap: derive base_path from Path(__file__).parent.parent so the app root (config/, storage/, routes/) resolves independently of the working directory instead of Path.cwd(). - Bump the framework fastapi extra and dev pin to fastapi[standard] 0.139.x (was capped <0.125.0) and relock both the framework and the example. - Rewrite config/logging.py to the current LoggingConfig dataclass using the typed StackChannel/DailyChannel/TerminalChannel channels, and register it via (LogProvider, LoggingConfig) so the example's config is actually loaded. - Add the FastAPIConfig docstring to match the framework default.
27c4aee to
63e0526
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
63e0526 to
a006d37
Compare
Updates to fastapi-app example.
🤖 Generated with Claude Code