Commit 447c52a
fix(story-2.2): _FailingTransport.stream annotation matches Transport protocol
ty rejected `def stream(...) -> None:` on _FailingTransport because the
Transport protocol requires the method to return
AbstractAsyncContextManager[StreamResponse]. Aligns with the
_OkTransport.stream stub shape used since Story 2-1.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3c413d6 commit 447c52a
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
326 | 328 | | |
327 | 329 | | |
328 | 330 | | |
| |||
0 commit comments