Skip to content
YosoiDocs

SearchResponse

yosoi.search.SearchResponse

class SearchResponse(ImmutableModel):

A cross-provider result retaining failed and unstarted slots.

Attributes: request_id: Identity assigned to the authored search. policy_identity: Resolved policy identity used for execution. termination: completed means the scheduler finished without observed cancellation or deadline; individual providers can still fail. cancelled and deadline_reached preserve retained outcomes. providers: One result per selected provider in authored policy order, not completion order.

Source: python/yosoi/search.py:595

Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.

request_id: str
policy_identity: PolicyIdentity
termination: Literal['completed', 'cancelled', 'deadline_reached']
providers: tuple[ProviderResult, ...] = Field(repr=False)