Commit 70792a7
committed
refactor: Import concrete BatchResult
Change __init__.py to import BatchResult from concurrency.models
(concrete implementation) rather than from types (protocol definition).
This provides users with the actual class implementation for better
IDE support and type checking.
The protocol remains in types.py for internal type checking, while
the public API exports the concrete dataclass implementation.
closes #2841 parent 73d1add commit 70792a7
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | | - | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
0 commit comments