Method call before detaching `children`.
(self, children: Mapping[str, Self])
| 221 | return f"TreeNode(children={dict(self._children)})" |
| 222 | |
| 223 | def _pre_detach_children(self, children: Mapping[str, Self]) -> None: |
| 224 | """Method call before detaching `children`.""" |
| 225 | pass |
| 226 | |
| 227 | def _post_detach_children(self, children: Mapping[str, Self]) -> None: |
| 228 | """Method call after detaching `children`.""" |