Source code for at_py.types
from __future__ import annotations
from dataclasses import dataclass
[docs]
@dataclass(frozen=True)
class RunResult:
"""Outcome of a single at-runner model run (mirrors ``at_runner`` gRPC response).
Fields follow the remote API: process ``status`` and ``exit_code``, captured
``stdout`` / ``stderr``, wall-clock ``elapsed`` seconds, and ``files`` mapping
output basenames to raw bytes.
"""
status: str
exit_code: int
stdout: str
stderr: str
elapsed: float
files: dict[str, bytes]