Skip to content

Commit 201e8b8

Browse files
Update src/eligibility_signposting_api/model/rules.py
Co-authored-by: Simon B <[email protected]>
1 parent 05a76ef commit 201e8b8

File tree

1 file changed

+1
-1
lines changed
  • src/eligibility_signposting_api/model

1 file changed

+1
-1
lines changed

src/eligibility_signposting_api/model/rules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class IterationRule(BaseModel):
100100
operator: RuleOperator = Field(..., alias="Operator")
101101
comparator: RuleComparator = Field(..., alias="Comparator")
102102
attribute_target: RuleAttributeTarget | None = Field(None, alias="AttributeTarget")
103-
rule_stop: RuleStop | None = Field(None, alias="RuleStop")
103+
rule_stop: RuleStop = Field(RuleStop(False), alias="RuleStop") # noqa: FBT003
104104

105105
@field_validator("rule_stop", mode="before")
106106
def parse_yn_to_bool(cls, v: str | bool) -> bool: # noqa: N805

0 commit comments

Comments
 (0)