We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05a76ef commit 201e8b8Copy full SHA for 201e8b8
src/eligibility_signposting_api/model/rules.py
@@ -100,7 +100,7 @@ class IterationRule(BaseModel):
100
operator: RuleOperator = Field(..., alias="Operator")
101
comparator: RuleComparator = Field(..., alias="Comparator")
102
attribute_target: RuleAttributeTarget | None = Field(None, alias="AttributeTarget")
103
- rule_stop: RuleStop | None = Field(None, alias="RuleStop")
+ rule_stop: RuleStop = Field(RuleStop(False), alias="RuleStop") # noqa: FBT003
104
105
@field_validator("rule_stop", mode="before")
106
def parse_yn_to_bool(cls, v: str | bool) -> bool: # noqa: N805
0 commit comments