From 0fef0caa56173f3e50450ec406118acca7f7a161 Mon Sep 17 00:00:00 2001 From: belthlemar Date: Tue, 11 Feb 2025 14:58:19 +0100 Subject: [PATCH] cleaning a bit --- .../service/api_services/models/settings.py | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/antares/craft/service/api_services/models/settings.py b/src/antares/craft/service/api_services/models/settings.py index b260c961..bc644899 100644 --- a/src/antares/craft/service/api_services/models/settings.py +++ b/src/antares/craft/service/api_services/models/settings.py @@ -61,16 +61,16 @@ @all_optional_model class AdequacyPatchParametersAPI(BaseModel, alias_generator=to_camel, populate_by_name=True): - enable_adequacy_patch: bool = False - ntc_from_physical_areas_out_to_physical_areas_in_adequacy_patch: bool = True - ntc_between_physical_areas_out_adequacy_patch: bool = True - price_taking_order: PriceTakingOrder = Field(default=PriceTakingOrder.DENS, validate_default=True) - include_hurdle_cost_csr: bool = False - check_csr_cost_function: bool = False - enable_first_step: bool = False - threshold_initiate_curtailment_sharing_rule: int = 0 - threshold_display_local_matching_rule_violations: int = 0 - threshold_csr_variable_bounds_relaxation: int = 3 + enable_adequacy_patch: bool + ntc_from_physical_areas_out_to_physical_areas_in_adequacy_patch: bool + ntc_between_physical_areas_out_adequacy_patch: bool + price_taking_order: PriceTakingOrder + include_hurdle_cost_csr: bool + check_csr_cost_function: bool + enable_first_step: bool + threshold_initiate_curtailment_sharing_rule: int + threshold_display_local_matching_rule_violations: int + threshold_csr_variable_bounds_relaxation: int @staticmethod def from_user_model(user_class: AdequacyPatchParametersType) -> "AdequacyPatchParametersAPI":