Skip to content

Commit bb382fc

Browse files
algolia-botmillotp
andcommitted
fix(specs): add tags and scope to rules (generated)
algolia/api-clients-automation#5625 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
1 parent d8b9bde commit bb382fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

algoliasearch/search/models/rule.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
"description": "description",
3030
"enabled": "enabled",
3131
"validity": "validity",
32+
"tags": "tags",
33+
"scope": "scope",
3234
}
3335

3436

@@ -52,6 +54,8 @@ class Rule(BaseModel):
5254
""" Whether the rule is active. """
5355
validity: Optional[List[TimeRange]] = None
5456
""" Time periods when the rule is active. """
57+
tags: Optional[List[str]] = None
58+
scope: Optional[str] = None
5559

5660
model_config = ConfigDict(
5761
strict=False,

0 commit comments

Comments
 (0)