SourceResult

Inheritance diagram of SourceResult

SourceResult inheritance diagram

class savant.client.runner.source.SourceResult(trace_id, log_provider, source_ids, pts, status)

Result of sending a message to ZeroMQ socket.

source_ids: Set[str]

Source IDs. Single source ID for a frame, multiple source IDs for a batch.

pts: int | None

PTS of the frame.

status: str

Status of sending the message.

logs()

Fetch logs from log provider for this result.

trace_id: str | None

OpenTelemetry trace ID of the message.

log_provider: LogProvider | None

Log provider for to fetch the logs.