Commit 3f9fd76
Use 'in' narrowing instead of .get() for TypedDict uid/puid lookup
Pyright can narrow NotRequired TypedDict fields via 'in' checks,
removing the need for type: ignore.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 7c6473f commit 3f9fd76
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
0 commit comments