Skip to content

StateTransition

Source code in docs_src/capo_connect/types/state_transition.py
class StateTransition(TypedDict, closed=True):
    state: NotRequired["capo_connect.types.participant_state.ParticipantState"]
    """<p>The state of the transition.</p>"""
    state_start_timestamp: NotRequired["capo_connect.types.timestamp.Timestamp"]
    """<p>The date and time when the state started in UTC time.</p>"""
    state_end_timestamp: NotRequired["capo_connect.types.timestamp.Timestamp"]
    """<p>The date and time when the state ended in UTC time.</p>"""

state instance-attribute

state: NotRequired[ParticipantState]

The state of the transition.

state_end_timestamp instance-attribute

state_end_timestamp: NotRequired[Timestamp]

The date and time when the state ended in UTC time.

state_start_timestamp instance-attribute

state_start_timestamp: NotRequired[Timestamp]

The date and time when the state started in UTC time.