| 697 | """ctx.run_node() works in a standalone BaseNode (default scheduler).""" |
| 698 | |
| 699 | class _ChildNode(BaseNode): |
| 700 | |
| 701 | async def _run_impl( |
| 702 | self, *, ctx: Context, node_input: Any |
| 703 | ) -> AsyncGenerator[Any, None]: |
| 704 | yield f'child got: {node_input}' |
| 705 | |
| 706 | class _ParentNode(BaseNode): |
| 707 |