← HomepageAll repository proofValidation recordState of TS Architecture 2026
Repository proof
FastAPI architecture
Changing exceptions.py in FastAPI reaches 28 modules. 14 files call it directly. Snapshot a3260d4.
The first file to open in FastAPI is exceptions.py. A change there reaches 28 of 52 modules.
This lead file reaches 54% of the graph. The median published proof reaches 60%.
Median 60%. Thick bar is blast share. Thin bar is fan-in.
Project: FastAPI (fastapi) · Score: 92.8/100 (Excellent architecture) · 52 modules · 123 edges · Python · 5 of 54 · Language score median 78.9
- Cycles
- 12
- Duplicate authorities
- 0
- God modules
- 1
- Layer violations
- 0
arc impact exceptions.pyUnder 3 minutes to first arc impact on a TypeScript monorepo (internal runs).
README badge
[](https://arcsight.ai/repositories/fastapi/)Blast radius paths
Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.
FastAPI · a3260d4
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 1 | exceptions.py concentrates too many responsibilities, shared utility hub | 14 | 28 | 54% |
| 2 | types.py | 8 | 24 | 46% |
| 3 | _compat/ concentrates too many responsibilities, shared utility hub, sits on a dependency cycle | 10 | 22 | 42% |
| 4 | __init__.py | 8 | 22 | 42% |
| 5 | openapi/ | 8 | 22 | 42% |
All ranked files
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 6 | datastructures.py | 7 | 22 | 42% |
Circular dependencies
This snapshot records 12 dependency cycles.
Nearby proofs
- Sanic architecture 82/100 · 180 modules
- robotframework architecture 70/100 · 284 modules
- openai-agents-python architecture 67.4/100 · 317 modules
Snapshot notes
In fastapi fastapi, a change that begins in exceptions.py keeps traveling until it reaches types.py, with _compat __init__.py as the third file on that walk and the _compat-v2.py group as the group around them, snapshot mark feccabaabd.
__init__.py is worth opening beside exceptions.py because openapi models.py still participates when __init__.py moves, and datastructures.py stays in view for fastapi fastapi, snapshot mark feccabaabd.
Review telemetry _api.py only after types.py and exceptions.py are both on the table, since the link from _compat __init__.py back to __init__.py belongs to fastapi fastapi under snapshot mark feccabaabd.
_compat __init__.py and __init__.py are later stops, and a reviewer who has already seen exceptions.py should still look at openapi models.py before treating the _compat-v2.py group as understood for fastapi fastapi, snapshot mark feccabaabd.
datastructures.py closes the file list after telemetry _api.py and exceptions.py, which keeps the fastapi fastapi note tied to snapshot mark feccabaabd, and the files named in this paragraph are the ones the review is willing to stand on.
Subsystem overview
- _compat-v2.py (21 modules)
- param_functions.py (17 modules)
CLI workflow
Impact, then scan, fix, finish, and watch.
arc impact <file>See what a change breaksarc scanFind issuesarc fixApply fixesarc finishResolve remainingarc watchKeep clean
FAQ
- Which file should change first in fastapi fastapi: exceptions.py?
- Start with exceptions.py, because the rest of the fastapi fastapi walk leaves from that file and types.py is the next file in the same review. Commit feccabaabd records it.
- What else is on the fastapi fastapi walk besides exceptions.py and _compat __init__.py?
- _compat __init__.py and __init__.py stay on the walk with openapi models.py, which are different files from exceptions.py inside the _compat-v2.py group for fastapi fastapi. Commit feccabaabd records it.
- How should a reviewer use datastructures.py in the fastapi fastapi snapshot?
- Keep datastructures.py, telemetry _api.py, and exceptions.py open together, then check types.py before merging the fastapi fastapi change. Commit feccabaabd records it.
- Where does the fastapi fastapi review stop after _compat __init__.py?
- Stop after _compat __init__.py, __init__.py, and openapi models.py have been compared with exceptions.py, leaving the _compat-v2.py group until those fastapi fastapi files are clear. Commit feccabaabd records it.
Run ArcSight on your repo
Install locally, then run arc impact on the file you plan to change — before merge.
Embed this report
Use this iframe to show the architecture badge on your site.
<iframe src="https://arcsight.ai/embed/fastapi/" width="320" height="180" frameborder="0"></iframe>Explore
Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo