Build node executors using strategy pattern.
(self)
| 229 | return self.__execution_context |
| 230 | |
| 231 | def _build_node_executors(self) -> None: |
| 232 | """Build node executors using strategy pattern.""" |
| 233 | |
| 234 | # Create node executors |
| 235 | self.node_executors = NodeExecutorFactory.create_executors( |
| 236 | self._get_execution_context(), |
| 237 | self.graph.subgraphs |
| 238 | ) |
| 239 | |
| 240 | def _ensure_human_prompt_service(self) -> HumanPromptService: |
| 241 | if self._human_prompt_service: |
no test coverage detected