core.execution_state
Execution state management for parallel and batch execution.
Execution state management for parallel and batch execution.
- class ExecutionState(completed=<factory>, in_progress=<factory>, pending=<factory>, results=<factory>, results_lock=<factory>, success_count=0, failed_count=0, skipped_count=0, aborted_count=0, results_by_name=<factory>, current_name='', aborted=False)[source]
Bases:
objectTracks state during parallel execution with thread-safe operations.
- Parameters:
- pending
Dict of pending PromptNodes by sequence number.
- Type:
- results_lock
Thread lock for result access.
- Type:
_thread.allocate_lock
- pending: dict[int, PromptNode]
- results_lock: allocate_lock
Classes
- class ExecutionState(completed=<factory>, in_progress=<factory>, pending=<factory>, results=<factory>, results_lock=<factory>, success_count=0, failed_count=0, skipped_count=0, aborted_count=0, results_by_name=<factory>, current_name='', aborted=False)[source]
Bases:
objectTracks state during parallel execution with thread-safe operations.
- Parameters:
- pending
Dict of pending PromptNodes by sequence number.
- Type:
- results_lock
Thread lock for result access.
- Type:
_thread.allocate_lock
- pending: dict[int, PromptNode]
- results_lock: allocate_lock