Skip to content

Destination¤

Destination ¤

An interface where you can write events and results.

close ¤

close() -> None

Close the destination. No-op by default.

open ¤

open() -> None

Open the destination. No-op by default.

summary abstractmethod ¤

summary() -> str | None

Return a summary of the destination.

write_event abstractmethod ¤

write_event(event: SessionEvent) -> None

Write an event to the destination.

write_result abstractmethod ¤

write_result(result: SessionResult) -> None

Write the session result to the destination.