Commit 1a5e2e6
Fix typing of TransportQueryError.errors from List[Any] to List[GraphQLError]
The `errors` attribute of `TransportQueryError` is populated from
`ExecutionResult.errors`, which is typed as `list[GraphQLError] | None`
in graphql-core. The type annotation should reflect this rather than
using the overly broad `List[Any]`.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 91b9355 commit 1a5e2e6
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | | - | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
45 | | - | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
0 commit comments