Commit 2551fe1
committed
revert models.py changes, use raw dicts without modifying codegen
Python dataclasses don't enforce types at runtime, so factory
functions can accept raw dicts directly. This removes the need to
change TextMapPropagator from a @DataClass to a TypeAlias.
Assisted-by: Claude Opus 4.6 (1M context)1 parent 9f192e5 commit 2551fe1
1 file changed
Lines changed: 6 additions & 4 deletions
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
573 | 573 | | |
574 | 574 | | |
575 | 575 | | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | | - | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
580 | 582 | | |
581 | 583 | | |
582 | 584 | | |
| |||
0 commit comments