Skip to content

Commit

Permalink
chore: trigger auto close pr (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4250

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Clément Vannicatte <[email protected]>
  • Loading branch information
algolia-bot and shortcuts committed Dec 16, 2024
1 parent 158dc1c commit b912b02
Show file tree
Hide file tree
Showing 378 changed files with 740 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/do-not-edit-this-repository.yml
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
2 changes: 2 additions & 0 deletions algoliasearch/abtesting/models/ab_test.py
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
2 changes: 2 additions & 0 deletions algoliasearch/abtesting/models/ab_test_configuration.py
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
2 changes: 2 additions & 0 deletions algoliasearch/abtesting/models/ab_test_response.py
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
2 changes: 2 additions & 0 deletions algoliasearch/abtesting/models/ab_tests_variant.py
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
2 changes: 2 additions & 0 deletions algoliasearch/abtesting/models/add_ab_tests_request.py
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
2 changes: 2 additions & 0 deletions algoliasearch/abtesting/models/currency.py
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
2 changes: 2 additions & 0 deletions algoliasearch/abtesting/models/empty_search.py
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
2 changes: 2 additions & 0 deletions algoliasearch/abtesting/models/empty_search_filter.py
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
1 change: 1 addition & 0 deletions algoliasearch/abtesting/models/error_base.py
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
2 changes: 2 additions & 0 deletions algoliasearch/abtesting/models/estimate_ab_test_request.py
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
2 changes: 2 additions & 0 deletions algoliasearch/abtesting/models/estimate_ab_test_response.py
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
2 changes: 2 additions & 0 deletions algoliasearch/abtesting/models/estimate_configuration.py
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
2 changes: 2 additions & 0 deletions algoliasearch/abtesting/models/filter_effects.py
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
2 changes: 2 additions & 0 deletions algoliasearch/abtesting/models/list_ab_tests_response.py
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
2 changes: 2 additions & 0 deletions algoliasearch/abtesting/models/minimum_detectable_effect.py
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
2 changes: 2 additions & 0 deletions algoliasearch/abtesting/models/outliers.py
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
2 changes: 2 additions & 0 deletions algoliasearch/abtesting/models/outliers_filter.py
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
2 changes: 2 additions & 0 deletions algoliasearch/abtesting/models/schedule_ab_test_response.py
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
2 changes: 2 additions & 0 deletions algoliasearch/abtesting/models/schedule_ab_tests_request.py
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
2 changes: 2 additions & 0 deletions algoliasearch/abtesting/models/variant.py
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
2 changes: 2 additions & 0 deletions algoliasearch/analytics/models/click_position.py
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
2 changes: 2 additions & 0 deletions algoliasearch/analytics/models/currency_code.py
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
2 changes: 2 additions & 0 deletions algoliasearch/analytics/models/daily_add_to_cart_rates.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ class DailyAddToCartRates(BaseModel):
""" Date in the format YYYY-MM-DD. """

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
2 changes: 2 additions & 0 deletions algoliasearch/analytics/models/daily_average_clicks.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ class DailyAverageClicks(BaseModel):
""" Date in the format YYYY-MM-DD. """

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
2 changes: 2 additions & 0 deletions algoliasearch/analytics/models/daily_click_through_rates.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ class DailyClickThroughRates(BaseModel):
""" Date in the format YYYY-MM-DD. """

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
2 changes: 2 additions & 0 deletions algoliasearch/analytics/models/daily_conversion_rates.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ class DailyConversionRates(BaseModel):
""" Date in the format YYYY-MM-DD. """

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
2 changes: 2 additions & 0 deletions algoliasearch/analytics/models/daily_no_click_rates.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ class DailyNoClickRates(BaseModel):
""" Date in the format YYYY-MM-DD. """

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 b912b02

Please sign in to comment.