Commit 82fdb63
ref(scope): Broaden
Update the type hint to clarify that `add_attachment`'s `bytes`
parameter can also accept `Callable[[], bytes]` values, since it
gets passed through to the `Attachment` constructor, which accepts
such values.add_attachment type (getsentry#3342)1 parent 0a49036 commit 82fdb63
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
893 | 893 | | |
894 | 894 | | |
895 | 895 | | |
896 | | - | |
| 896 | + | |
897 | 897 | | |
898 | 898 | | |
899 | 899 | | |
| |||
0 commit comments