Commit 498a24a
fix: resolve mypy type errors in axons.py
Fixed 3 mypy errors:
1. Removed duplicate import of axon_subscribe_sse_params on line 32
2. Added explicit type annotation for sequence_to_use: int | Omit (sync)
3. Added explicit type annotation for sequence_to_use: int | Omit (async)
This allows the variable to hold either an int or an Omit value,
which is then properly filtered by the transform() function.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 14085b9 commit 498a24a
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
311 | 310 | | |
312 | 311 | | |
313 | 312 | | |
| 313 | + | |
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
| 629 | + | |
629 | 630 | | |
630 | 631 | | |
631 | 632 | | |
| |||
0 commit comments