docs(track): result_migration_review_pass decisions for src/models.py INTERNAL_RETHROW (1 compliant + 0 migration-target)
This commit is contained in:
@@ -206,7 +206,11 @@ Other audit findings (unchanged by this review pass):
|
||||
|
||||
### 2.12 `src/models.py` — INTERNAL_RETHROW site (1)
|
||||
|
||||
*(filled in Task 3.6)*
|
||||
| Line | Context | Snippet | Decision | Pattern / Rationale |
|
||||
|---|---|---|---|---|
|
||||
| 268 | `models.__getattr__` (module-level PEP 562) | `raise AttributeError(f"module {__name__!r} has no attribute {name!r}")` | **compliant** | Standard module-level `__getattr__` pattern (PEP 562): handles `PROVIDERS` and `_PYDANTIC_CLASS_FACTORIES` lookups, then raises AttributeError for everything else. Python idiom |
|
||||
|
||||
**Subtotals:** 1 compliant + 0 migration-target.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user