Commit c1f7557
fix: trace.py mypy attr-defined on object — use typed helper _parse_ids()
Replace list comprehension over dict.get() (returns object) with a
_parse_ids(raw) helper that uses isinstance(raw, list) guard.
Mypy can now verify the comprehension type correctly.
Co-Authored-By: Oz <oz-agent@warp.dev>1 parent c89f57e commit c1f7557
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
117 | 121 | | |
118 | 122 | | |
119 | 123 | | |
| |||
0 commit comments