Commit 4602ffc
refactor(batch): improve type annotation for event parameter (#7924)
fix(batch): improve type annotation for event parameter
Change event parameter type from 'dict' to 'dict[str, Any]' in
process_partial_response and async_process_partial_response functions.
Lambda events are JSON objects which should be typed as dict[str, Any]
for better type checking with tools like pyright.
Fixes #7923
Co-authored-by: Max Rabin <[email protected]>
Co-authored-by: Leandro Damascena <[email protected]>1 parent e920250 commit 4602ffc
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| |||
0 commit comments