Commit 2b0809f
docs(python): clarify per-file dedupe + nested-first rationale in payload_vo_generator
Two stale docstrings updated to match the actual behavior after the
review-driven fix:
- _resolve_collection_type now documents per-file dedupe (was "across
the whole run"); the cross-template behavior was a bug — the second
file would reference an undefined PostPayload — and was corrected in
the parent commit. This is the explanatory text catching up.
- The nested-first emit-order comment now names the concrete Pydantic
v2 failure mode (PydanticUserError "not fully defined" → forced
model_rebuild()) that motivates the ordering, instead of pointing at
Kotlin's emission order. The Pydantic constraint is the real reason.
No behavior change.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 09ef727 commit 2b0809f
1 file changed
Lines changed: 9 additions & 5 deletions
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
235 | 238 | | |
236 | 239 | | |
237 | 240 | | |
| |||
406 | 409 | | |
407 | 410 | | |
408 | 411 | | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
413 | 417 | | |
414 | 418 | | |
415 | 419 | | |
| |||
0 commit comments