You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: algoliasearch/search/models/rule.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ class Rule(BaseModel):
45
45
""" Unique identifier of a rule object. """
46
46
conditions: Optional[List[Condition]] =None
47
47
""" Conditions that trigger a rule. Some consequences require specific conditions or don't require any condition. For more information, see [Conditions](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/#conditions). """
48
-
consequence: Optional[Consequence] =None
48
+
consequence: Consequence
49
49
description: Optional[str] =None
50
50
""" Description of the rule's purpose to help you distinguish between different rules. """
0 commit comments