Skip to content
YosoiDocs

RequestAttemptSummary

yosoi.search.RequestAttemptSummary

class RequestAttemptSummary(ImmutableModel):

A bounded summary of an underlying acquisition, including recovery attempts.

Attributes: request_id: Parent Request identity, including a recovery Request. capture_id: Identity allocated to this acquisition capture. acquisition: Mechanism selected by the resolved policy. http_status: Observed HTTP status, absent when none was recorded. source_bytes: Exact retained source-artifact byte count, when recorded. diagnostic: Typed bounded failure details, absent when none were recorded. terminal: Acquisition completed, failed, or never started; completion does not establish provider parsing success.

Source: python/yosoi/search.py:499

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

request_id: str
capture_id: str
acquisition: AcquisitionKind
http_status: int | None
source_bytes: int | None
diagnostic: SearchAttemptDiagnostic | None
terminal: Literal['completed', 'failed', 'not_started']