Skip to content

Commit

Permalink
chore: trigger auto close pr (#4250) (generated) [skip ci]
Browse files Browse the repository at this point in the history
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
  • Loading branch information
algolia-bot and shortcuts committed Dec 16, 2024
1 parent 0481473 commit 2be65a3
Show file tree
Hide file tree
Showing 388 changed files with 750 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Do not edit files in this repository

on:
pull_request:
pull_request_target:
types:
- opened
- synchronize
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Do not edit files in this repository

on:
pull_request:
pull_request_target:
types:
- opened
- synchronize
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Do not edit files in this repository

on:
pull_request:
pull_request_target:
types:
- opened
- synchronize
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Do not edit files in this repository

on:
pull_request:
pull_request_target:
types:
- opened
- synchronize
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Do not edit files in this repository

on:
pull_request:
pull_request_target:
types:
- opened
- synchronize
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Do not edit files in this repository

on:
pull_request:
pull_request_target:
types:
- opened
- synchronize
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Do not edit files in this repository

on:
pull_request:
pull_request_target:
types:
- opened
- synchronize
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Do not edit files in this repository

on:
pull_request:
pull_request_target:
types:
- opened
- synchronize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,13 @@ class ABTest(BaseModel):
configuration: Optional[ABTestConfiguration] = None

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ class ABTestConfiguration(BaseModel):
minimum_detectable_effect: Optional[MinimumDetectableEffect] = None

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ class ABTestResponse(BaseModel):
""" 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`. """

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ class AbTestsVariant(BaseModel):
""" Description for this variant. """

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,13 @@ class AbTestsVariantSearchParams(BaseModel):
custom_search_parameters: object

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,13 @@ class AddABTestsRequest(BaseModel):
""" End date and time of the A/B test, in RFC 3339 format. """

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ class Currency(BaseModel):
""" Standard deviation for this currency. """

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@ class EmptySearch(BaseModel):
""" Whether to exclude empty searches when calculating A/B test results. """

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ class EmptySearchFilter(BaseModel):
""" Number of tracked searches removed from the A/B test. """

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class ErrorBase(BaseModel):
message: Optional[str] = None

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@ class EstimateABTestRequest(BaseModel):
""" A/B test variants. """

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ class EstimateABTestResponse(BaseModel):
""" Sample size estimates for each variant. The first element is the control variant. Each element is the estimated number of searches required to achieve the desired statistical significance. """

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ class EstimateConfiguration(BaseModel):
minimum_detectable_effect: MinimumDetectableEffect

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,13 @@ class FilterEffects(BaseModel):
empty_search: Optional[EmptySearchFilter] = None

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,13 @@ class ListABTestsResponse(BaseModel):
""" Number of retrievable A/B tests. """

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,13 @@ class MinimumDetectableEffect(BaseModel):
metric: EffectMetric

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@ class Outliers(BaseModel):
""" Whether to exclude outliers when calculating A/B test results. """

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ class OutliersFilter(BaseModel):
""" Number of tracked searches removed from the A/B test. """

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@ class ScheduleABTestResponse(BaseModel):
""" Unique scheduled A/B test identifier. """

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,13 @@ class ScheduleABTestsRequest(BaseModel):
""" End date and time of the A/B test, in RFC 3339 format. """

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,13 @@ class Variant(BaseModel):
""" Number of users that made tracked searches to this variant. """

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ class ClickPosition(BaseModel):
""" Number of times this search has been clicked at that position. """

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ class CurrencyCode(BaseModel):
""" Revenue associated with this search in this currency. """

model_config = ConfigDict(
strict=False,
use_enum_values=True,
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
alias_generator=_alias_generator,
extra="allow",
)

def to_json(self) -> str:
Expand Down
Loading

0 comments on commit 2be65a3

Please sign in to comment.