Create a new execution record.
(self,
skill_id: str,
executor_type: ExecutorType,
input_spec: ExecutionInput,
script_path: str = None,
function_name: str = None,
sandbox_used: bool = None)
| 524 | return outputs |
| 525 | |
| 526 | def _create_record(self, |
| 527 | skill_id: str, |
| 528 | executor_type: ExecutorType, |
| 529 | input_spec: ExecutionInput, |
| 530 | script_path: str = None, |
| 531 | function_name: str = None, |
| 532 | sandbox_used: bool = None) -> ExecutionRecord: |
| 533 | """Create a new execution record.""" |
| 534 | return ExecutionRecord( |
| 535 | skill_id=skill_id, |
| 536 | executor_type=executor_type, |
| 537 | script_path=script_path, |
| 538 | function_name=function_name, |
| 539 | input_spec=input_spec, |
| 540 | status=ExecutionStatus.PENDING, |
| 541 | sandbox_used=sandbox_used |
| 542 | if sandbox_used is not None else self.use_sandbox) |
| 543 | |
| 544 | # ------------------------------------------------------------------------- |
| 545 | # Local Execution Helpers (for use_sandbox=False mode) |
no test coverage detected