(
component: ComponentType,
schedule_render: Callable[[_LifeCycleStateId], None],
)
| 664 | |
| 665 | |
| 666 | def _make_life_cycle_state( |
| 667 | component: ComponentType, |
| 668 | schedule_render: Callable[[_LifeCycleStateId], None], |
| 669 | ) -> _LifeCycleState: |
| 670 | life_cycle_state_id = _LifeCycleStateId(uuid4().hex) |
| 671 | return _LifeCycleState( |
| 672 | life_cycle_state_id, |
| 673 | LifeCycleHook(lambda: schedule_render(life_cycle_state_id)), |
| 674 | component, |
| 675 | ) |
| 676 | |
| 677 | |
| 678 | def _update_life_cycle_state( |
no test coverage detected