diff --git a/antarest/study/business/binding_constraint_management.py b/antarest/study/business/binding_constraint_management.py index 95dfd305c2..0e30a2e2b8 100644 --- a/antarest/study/business/binding_constraint_management.py +++ b/antarest/study/business/binding_constraint_management.py @@ -853,7 +853,7 @@ def update_binding_constraints( raise BindingConstraintNotFound(f"Binding constraint '{bc_id}' not found") props = create_binding_constraint_config(study_version, **value.dict()) - new_values = props.model_dump(mode='json', by_alias=True, exclude_unset=True) + new_values = props.model_dump(mode="json", by_alias=True, exclude_unset=True) upd_obj = config[dict_config[bc_id]] current_value = copy.deepcopy(upd_obj) upd_obj.update(new_values)