Skip to main content

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_id str: The trace this span belongs to.
  • span_id str: This span's id.
  • parent_id str | None: The parent span's id, or None for a root span.
  • name str | None: The span's name, or None if the platform recorded none.
  • kind SpanKind | None: The span's kind, or None if the platform recorded none.
  • start_ns int | None: The span's start time in nanoseconds since epoch, or None if the platform recorded none.
  • results list[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.