Commit 767a96d
committed
fix: correct Context[None] to bare Context in test_list_roots_callback
Same rationale as the previous commit: this server has no lifespan argument,
so the default lifespan yields {} typed dict[str, Any]. Context[None] types
lifespan_context as None, which is factually wrong — it only passed
type-check because the test never dereferences it.1 parent dca448e commit 767a96d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments