Skip to content

Batch

🛈 DocStrings

One coalesced signal: kind + node ids (+ error / posted call).

Source code in src/datacook/app/eventqueue.py
@dataclass(frozen=True, slots=True)
class Batch:
    """One coalesced signal: `kind` + node ids (+ error / posted call)."""

    kind: BatchKind
    node_ids: tuple[str, ...] = ()
    error: BaseException | None = None
    call: Posted | None = None

:fa-brands-github: Show source on GitHub