runnable-hub/python/runnable_workers/shellWorker/response.py (8 lines of code) (raw):
from runnable_hub import RunnableResponse
from typing import Dict, Optional
class ShellResponse(RunnableResponse):
runnableCode: str = "SHELL"
stdout: str
stderr: str
returncode: int | None
outputs: Dict[str, str] = {}