aip_sdk.SessionComponent
aip_sdk.SessionComponent
One span of a session, with every result that covered it.
(trace_id, span_id) is the component key. An empty results means no partition
covered this span, not that it passed.
Attributes
trace_idstr: The trace this span belongs to.span_idstr: This span's id.parent_idstr | None: The parent span's id, orNonefor a root span.namestr | None: The span's name, orNoneif the platform recorded none.kindSpanKind | None: The span's kind, orNoneif the platform recorded none.start_nsint | None: The span's start time in nanoseconds since epoch, orNoneif the platform recorded none.resultslist[SessionResult]: Every result that covered this span. Empty means no partition covered it, not that it passed.
aip_sdk.SessionComponent.kind
aip_sdk.SessionComponent.kind: SpanKind | None = None
No docstring is defined in the source.
aip_sdk.SessionComponent.model_config
aip_sdk.SessionComponent.model_config = ConfigDict(extra='allow')
No docstring is defined in the source.
aip_sdk.SessionComponent.name
aip_sdk.SessionComponent.name: str | None = None
No docstring is defined in the source.
aip_sdk.SessionComponent.parent_id
aip_sdk.SessionComponent.parent_id: str | None = None
No docstring is defined in the source.
aip_sdk.SessionComponent.results
aip_sdk.SessionComponent.results: list[SessionResult] = Field(default_factory=list['SessionResult'])
No docstring is defined in the source.
aip_sdk.SessionComponent.span_id
aip_sdk.SessionComponent.span_id: str = Field(min_length=1)
No docstring is defined in the source.
aip_sdk.SessionComponent.start_ns
aip_sdk.SessionComponent.start_ns: int | None = None
No docstring is defined in the source.
aip_sdk.SessionComponent.trace_id
aip_sdk.SessionComponent.trace_id: str = Field(min_length=1)
No docstring is defined in the source.