Skip to content

Commit b912b02

Browse files
chore: trigger auto close pr (generated)
algolia/api-clients-automation#4250 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 158dc1c commit b912b02

File tree

378 files changed

+740
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

378 files changed

+740
-1
lines changed

.github/workflows/do-not-edit-this-repository.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Do not edit files in this repository
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
types:
66
- opened
77
- synchronize

algoliasearch/abtesting/models/ab_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,13 @@ class ABTest(BaseModel):
6969
configuration: Optional[ABTestConfiguration] = None
7070

7171
model_config = ConfigDict(
72+
strict=False,
7273
use_enum_values=True,
7374
populate_by_name=True,
7475
validate_assignment=True,
7576
protected_namespaces=(),
7677
alias_generator=_alias_generator,
78+
extra="allow",
7779
)
7880

7981
def to_json(self) -> str:

algoliasearch/abtesting/models/ab_test_configuration.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ class ABTestConfiguration(BaseModel):
4545
minimum_detectable_effect: Optional[MinimumDetectableEffect] = None
4646

4747
model_config = ConfigDict(
48+
strict=False,
4849
use_enum_values=True,
4950
populate_by_name=True,
5051
validate_assignment=True,
5152
protected_namespaces=(),
5253
alias_generator=_alias_generator,
54+
extra="allow",
5355
)
5456

5557
def to_json(self) -> str:

algoliasearch/abtesting/models/ab_test_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ class ABTestResponse(BaseModel):
4242
""" Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task's progress with the [`task` operation](#tag/Indices/operation/getTask) and this `taskID`. """
4343

4444
model_config = ConfigDict(
45+
strict=False,
4546
use_enum_values=True,
4647
populate_by_name=True,
4748
validate_assignment=True,
4849
protected_namespaces=(),
4950
alias_generator=_alias_generator,
51+
extra="allow",
5052
)
5153

5254
def to_json(self) -> str:

algoliasearch/abtesting/models/ab_tests_variant.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ class AbTestsVariant(BaseModel):
4242
""" Description for this variant. """
4343

4444
model_config = ConfigDict(
45+
strict=False,
4546
use_enum_values=True,
4647
populate_by_name=True,
4748
validate_assignment=True,
4849
protected_namespaces=(),
4950
alias_generator=_alias_generator,
51+
extra="allow",
5052
)
5153

5254
def to_json(self) -> str:

algoliasearch/abtesting/models/ab_tests_variant_search_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@ class AbTestsVariantSearchParams(BaseModel):
4444
custom_search_parameters: object
4545

4646
model_config = ConfigDict(
47+
strict=False,
4748
use_enum_values=True,
4849
populate_by_name=True,
4950
validate_assignment=True,
5051
protected_namespaces=(),
5152
alias_generator=_alias_generator,
53+
extra="allow",
5254
)
5355

5456
def to_json(self) -> str:

algoliasearch/abtesting/models/add_ab_tests_request.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@ class AddABTestsRequest(BaseModel):
4444
""" End date and time of the A/B test, in RFC 3339 format. """
4545

4646
model_config = ConfigDict(
47+
strict=False,
4748
use_enum_values=True,
4849
populate_by_name=True,
4950
validate_assignment=True,
5051
protected_namespaces=(),
5152
alias_generator=_alias_generator,
53+
extra="allow",
5254
)
5355

5456
def to_json(self) -> str:

algoliasearch/abtesting/models/currency.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ class Currency(BaseModel):
4545
""" Standard deviation for this currency. """
4646

4747
model_config = ConfigDict(
48+
strict=False,
4849
use_enum_values=True,
4950
populate_by_name=True,
5051
validate_assignment=True,
5152
protected_namespaces=(),
5253
alias_generator=_alias_generator,
54+
extra="allow",
5355
)
5456

5557
def to_json(self) -> str:

algoliasearch/abtesting/models/empty_search.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,13 @@ class EmptySearch(BaseModel):
3636
""" Whether to exclude empty searches when calculating A/B test results. """
3737

3838
model_config = ConfigDict(
39+
strict=False,
3940
use_enum_values=True,
4041
populate_by_name=True,
4142
validate_assignment=True,
4243
protected_namespaces=(),
4344
alias_generator=_alias_generator,
45+
extra="allow",
4446
)
4547

4648
def to_json(self) -> str:

algoliasearch/abtesting/models/empty_search_filter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@ class EmptySearchFilter(BaseModel):
3939
""" Number of tracked searches removed from the A/B test. """
4040

4141
model_config = ConfigDict(
42+
strict=False,
4243
use_enum_values=True,
4344
populate_by_name=True,
4445
validate_assignment=True,
4546
protected_namespaces=(),
4647
alias_generator=_alias_generator,
48+
extra="allow",
4749
)
4850

4951
def to_json(self) -> str:

0 commit comments

Comments
 (0)