Skip to main content
Version: latest

agrag.common.data_models.decision.DecisionPage

Bases: BaseModel

A capped list of decisions with the total that matched.

Attributes:

  • decisions (list[Decision]) – The first decisions in the page order, at most the cap.
  • count (int) – The number of decisions that matched, including hidden ones.
  • truncated (bool) – Whether some matching decisions are not in decisions.

count​

count: int = 0

decisions​

decisions: list[Decision] = Field(default_factory=list)

model_config​

model_config = ConfigDict(frozen=True)

truncated​

truncated: bool = False