Commit 0b143e0
fix: Restore API surface compatibility for batch_processor, write_client, write_stream, and on_state_change_callback
Restore class-level `= None` attributes and `__getattribute__` override
for batch_processor, write_client, and write_stream to preserve the
public API surface. The properties were renamed to `_*_prop` (private)
with the `__getattribute__` routing access to them.
Add deprecated `on_state_change_callback` stub for backward compat.
This method is never invoked by the framework but retaining it prevents
breaking subclasses that may override it.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 6e5046b commit 0b143e0
1 file changed
Lines changed: 47 additions & 4 deletions
Lines changed: 47 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1592 | 1592 | | |
1593 | 1593 | | |
1594 | 1594 | | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
1595 | 1620 | | |
1596 | | - | |
| 1621 | + | |
1597 | 1622 | | |
1598 | 1623 | | |
1599 | 1624 | | |
| |||
1605 | 1630 | | |
1606 | 1631 | | |
1607 | 1632 | | |
1608 | | - | |
| 1633 | + | |
1609 | 1634 | | |
1610 | 1635 | | |
1611 | 1636 | | |
| |||
1616 | 1641 | | |
1617 | 1642 | | |
1618 | 1643 | | |
1619 | | - | |
| 1644 | + | |
1620 | 1645 | | |
1621 | | - | |
| 1646 | + | |
1622 | 1647 | | |
1623 | 1648 | | |
1624 | 1649 | | |
| |||
2135 | 2160 | | |
2136 | 2161 | | |
2137 | 2162 | | |
| 2163 | + | |
| 2164 | + | |
| 2165 | + | |
| 2166 | + | |
| 2167 | + | |
| 2168 | + | |
| 2169 | + | |
| 2170 | + | |
| 2171 | + | |
| 2172 | + | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
| 2176 | + | |
| 2177 | + | |
| 2178 | + | |
| 2179 | + | |
| 2180 | + | |
2138 | 2181 | | |
2139 | 2182 | | |
2140 | 2183 | | |
| |||
0 commit comments