Commit 8211f50
authored
fix(sdk): coerce bytearray to bytes in process_request payload (#1081)
mypy 2.0 (newly installed in CI) flagged that the bytes|bytearray branch
assigned a bytearray into a payload typed dict[str, bytes]. Coerce with
bytes(raw) — type-correct, and downstream urllib.request.Request wants
bytes anyway.1 parent 41532e2 commit 8211f50
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
0 commit comments