Skip to content

Commit 78e1fdf

Browse files
chore: generated code for commit 31ba7f6d. [skip ci]
algolia/api-clients-automation@31ba7f6 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 1bcd56b commit 78e1fdf

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

algoliasearch/recommend/models/trending_items.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ class TrendingItems(BaseModel):
2020
TrendingItems
2121
"""
2222

23-
facet_name: StrictStr = Field(
23+
facet_name: Optional[StrictStr] = Field(
24+
default=None,
2425
description="Facet attribute. To be used in combination with `facetValue`. If specified, only recommendations matching the facet filter will be returned. ",
2526
alias="facetName",
2627
)
27-
facet_value: StrictStr = Field(
28+
facet_value: Optional[StrictStr] = Field(
29+
default=None,
2830
description="Facet value. To be used in combination with `facetName`. If specified, only recommendations matching the facet filter will be returned. ",
2931
alias="facetValue",
3032
)

algoliasearch/recommend/models/trending_items_query.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,13 @@ class TrendingItemsQuery(BaseModel):
4040
query_parameters: Optional[SearchParams] = Field(
4141
default=None, alias="queryParameters"
4242
)
43-
facet_name: StrictStr = Field(
43+
facet_name: Optional[StrictStr] = Field(
44+
default=None,
4445
description="Facet attribute. To be used in combination with `facetValue`. If specified, only recommendations matching the facet filter will be returned. ",
4546
alias="facetName",
4647
)
47-
facet_value: StrictStr = Field(
48+
facet_value: Optional[StrictStr] = Field(
49+
default=None,
4850
description="Facet value. To be used in combination with `facetName`. If specified, only recommendations matching the facet filter will be returned. ",
4951
alias="facetValue",
5052
)

0 commit comments

Comments
 (0)