Skip to content

Event

🛈 DocStrings

Source code in src/datacook/engine/events.py
@dataclass(frozen=True, slots=True)
class Event:
    kind: EventKind
    node_ids: tuple[str, ...]
    generation: int | None = None
    error: BaseException | None = None

    @property
    def node_id(self) -> str:
        return self.node_ids[0]

:fa-brands-github: Show source on GitHub