- Notifications
You must be signed in to change notification settings - Fork39
Commit9f87518
Improve type annotations for Record types and Decoder
Convert RecordList and RecordDict from class-based type definitions toexplicit TypeAlias declarations. These types are only used for typeannotations and were never instantiated as actual classes, so usingTypeAlias makes their purpose more explicit and follows modern Pythontyping conventions.Add explicit type annotation to Decoder._type_decoder ClassVar. Thisprovides better type checking for the decoder function map by fullyspecifying the callable signature.These are internal changes with no user-visible effects.🤖 Generated with [Claude Code](https://claude.com/claude-code)Co-Authored-By: Claude <noreply@anthropic.com>1 parent53101d0 commit9f87518
2 files changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
118 | 121 | | |
119 | 122 | | |
120 | 123 | | |
121 | | - | |
| 124 | + | |
122 | 125 | | |
123 | 126 | | |
124 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 12 | + | |
| 13 | + | |
17 | 14 | | |
18 | 15 | | |
0 commit comments
Comments
(0)