code_execution_task CodeExecutionTask Bases: BaseTextInputTask Source code in griptape/tasks/code_execution_task.py 13 14 15 16 17 18@define class CodeExecutionTask(BaseTextInputTask): run_fn: Callable[[CodeExecutionTask], BaseArtifact] = field(kw_only=True) def run(self) -> BaseArtifact: return self.run_fn(self) run_fn: Callable[[CodeExecutionTask], BaseArtifact] = field(kw_only=True) class-attribute instance-attribute run() Source code in griptape/tasks/code_execution_task.py 17 18def run(self) -> BaseArtifact: return self.run_fn(self)