File tree Expand file tree Collapse file tree 7 files changed +13
-4
lines changed Expand file tree Collapse file tree 7 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class ABTestConfiguration(BaseModel):
40
40
A/B test configuration.
41
41
"""
42
42
43
- outliers : Outliers
43
+ outliers : Optional [ Outliers ] = None
44
44
empty_search : Optional [EmptySearch ] = None
45
45
minimum_detectable_effect : Optional [MinimumDetectableEffect ] = None
46
46
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ class Variant(BaseModel):
70
70
""" [Conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate) for this variant. """
71
71
currencies : Optional [Dict [str , Currency ]] = None
72
72
""" A/B test currencies. """
73
- description : str
73
+ description : Optional [ str ] = None
74
74
""" Description for this variant. """
75
75
estimated_sample_size : Optional [int ] = None
76
76
""" Estimated number of searches required to achieve the desired statistical significance. The A/B test configuration must include a `mininmumDetectableEffect` setting for this number to be included in the response. """
Original file line number Diff line number Diff line change 31
31
"around_lat_lng" : "aroundLatLng" ,
32
32
"automatic_radius" : "automaticRadius" ,
33
33
"exhaustive" : "exhaustive" ,
34
+ "applied_rules" : "appliedRules" ,
34
35
"exhaustive_facets_count" : "exhaustiveFacetsCount" ,
35
36
"exhaustive_nb_hits" : "exhaustiveNbHits" ,
36
37
"exhaustive_typo" : "exhaustiveTypo" ,
@@ -77,6 +78,8 @@ class RecommendationsResults(BaseModel):
77
78
automatic_radius : Optional [str ] = None
78
79
""" Distance from a central coordinate provided by `aroundLatLng`. """
79
80
exhaustive : Optional [Exhaustive ] = None
81
+ applied_rules : Optional [List [object ]] = None
82
+ """ Rules applied to the query. """
80
83
exhaustive_facets_count : Optional [bool ] = None
81
84
""" See the `facetsCount` field of the `exhaustive` object in the response. """
82
85
exhaustive_nb_hits : Optional [bool ] = None
Original file line number Diff line number Diff line change 31
31
"around_lat_lng" : "aroundLatLng" ,
32
32
"automatic_radius" : "automaticRadius" ,
33
33
"exhaustive" : "exhaustive" ,
34
+ "applied_rules" : "appliedRules" ,
34
35
"exhaustive_facets_count" : "exhaustiveFacetsCount" ,
35
36
"exhaustive_nb_hits" : "exhaustiveNbHits" ,
36
37
"exhaustive_typo" : "exhaustiveTypo" ,
@@ -80,6 +81,8 @@ class BrowseResponse(BaseModel):
80
81
automatic_radius : Optional [str ] = None
81
82
""" Distance from a central coordinate provided by `aroundLatLng`. """
82
83
exhaustive : Optional [Exhaustive ] = None
84
+ applied_rules : Optional [List [object ]] = None
85
+ """ Rules applied to the query. """
83
86
exhaustive_facets_count : Optional [bool ] = None
84
87
""" See the `facetsCount` field of the `exhaustive` object in the response. """
85
88
exhaustive_nb_hits : Optional [bool ] = None
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class GetApiKeyResponse(BaseModel):
43
43
GetApiKeyResponse
44
44
"""
45
45
46
- value : Optional [ str ] = None
46
+ value : str
47
47
""" API key. """
48
48
created_at : int
49
49
""" Timestamp when the object was created, in milliseconds since the Unix epoch. """
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class GetObjectsResponse(BaseModel):
32
32
GetObjectsResponse
33
33
"""
34
34
35
- results : List [object ]
35
+ results : Optional [ List [object ]] = None
36
36
""" Retrieved records. """
37
37
38
38
model_config = ConfigDict (
Original file line number Diff line number Diff line change 31
31
"around_lat_lng" : "aroundLatLng" ,
32
32
"automatic_radius" : "automaticRadius" ,
33
33
"exhaustive" : "exhaustive" ,
34
+ "applied_rules" : "appliedRules" ,
34
35
"exhaustive_facets_count" : "exhaustiveFacetsCount" ,
35
36
"exhaustive_nb_hits" : "exhaustiveNbHits" ,
36
37
"exhaustive_typo" : "exhaustiveTypo" ,
@@ -79,6 +80,8 @@ class SearchResponse(BaseModel):
79
80
automatic_radius : Optional [str ] = None
80
81
""" Distance from a central coordinate provided by `aroundLatLng`. """
81
82
exhaustive : Optional [Exhaustive ] = None
83
+ applied_rules : Optional [List [object ]] = None
84
+ """ Rules applied to the query. """
82
85
exhaustive_facets_count : Optional [bool ] = None
83
86
""" See the `facetsCount` field of the `exhaustive` object in the response. """
84
87
exhaustive_nb_hits : Optional [bool ] = None
You can’t perform that action at this time.
0 commit comments