We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e801c5 commit 87f0870Copy full SHA for 87f0870
src/eligibility_signposting_api/model/rules.py
@@ -29,6 +29,7 @@
29
StartDate = NewType("StartDate", date)
30
EndDate = NewType("EndDate", date)
31
CohortLabel = NewType("CohortLabel", str)
32
+RuleStop = NewType("RuleStop", bool)
33
34
35
class RuleType(StrEnum):
@@ -99,7 +100,7 @@ class IterationRule(BaseModel):
99
100
operator: RuleOperator = Field(..., alias="Operator")
101
comparator: RuleComparator = Field(..., alias="Comparator")
102
attribute_target: RuleAttributeTarget | None = Field(None, alias="AttributeTarget")
- rule_stop: bool = Field(default=False, alias="RuleStop")
103
+ rule_stop: RuleStop = Field(default=False, alias="RuleStop")
104
105
@field_validator("rule_stop", mode="before")
106
@staticmethod
0 commit comments