Commit 9243f17
committed
fix(metrics): use None default for turn_params in convert_turn_to_dict
Replaces the mutable list default with None + guard, mirroring the
pattern applied to `goldens` in #2792.
Not a live bug today — the function body doesn't mutate turn_params —
but a latent footgun as callers get added (5 modules already use this
helper).1 parent 11375f8 commit 9243f17
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
| 125 | + | |
129 | 126 | | |
| 127 | + | |
| 128 | + | |
130 | 129 | | |
131 | 130 | | |
132 | 131 | | |
| |||
0 commit comments