From b770795cca24f547c0c22ea97a5a462f7d264559 Mon Sep 17 00:00:00 2001
From: belthlemar <martin.belthle@rte-france.com>
Date: Mon, 26 Aug 2024 12:10:08 +0200
Subject: [PATCH] little fixes and still 195 tests that fail

---
 .../model/command/create_binding_constraint.py            | 2 +-
 .../storage/variantstudy/model/command/update_district.py | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/antarest/study/storage/variantstudy/model/command/create_binding_constraint.py b/antarest/study/storage/variantstudy/model/command/create_binding_constraint.py
index 573822c2cf..42e6d67372 100644
--- a/antarest/study/storage/variantstudy/model/command/create_binding_constraint.py
+++ b/antarest/study/storage/variantstudy/model/command/create_binding_constraint.py
@@ -203,7 +203,7 @@ class AbstractBindingConstraintCommand(OptionalProperties, BindingConstraintMatr
     Abstract class for binding constraint commands.
     """
 
-    coeffs: t.Optional[t.Dict[str, t.List[float]]]
+    coeffs: t.Optional[t.Dict[str, t.List[float]]] = None
 
     def to_dto(self) -> CommandDTO:
         json_command = json.loads(self.model_dump_json(exclude={"command_context"}))
diff --git a/antarest/study/storage/variantstudy/model/command/update_district.py b/antarest/study/storage/variantstudy/model/command/update_district.py
index 75f341ea31..ad9e8d53d7 100644
--- a/antarest/study/storage/variantstudy/model/command/update_district.py
+++ b/antarest/study/storage/variantstudy/model/command/update_district.py
@@ -23,10 +23,10 @@ class UpdateDistrict(ICommand):
     # ==================
 
     id: str
-    base_filter: Optional[DistrictBaseFilter]
-    filter_items: Optional[List[str]]
-    output: Optional[bool]
-    comments: Optional[str]
+    base_filter: Optional[DistrictBaseFilter] = None
+    filter_items: Optional[List[str]] = None
+    output: Optional[bool] = None
+    comments: Optional[str] = None
 
     def _apply_config(self, study_data: FileStudyTreeConfig) -> Tuple[CommandOutput, Dict[str, Any]]:
         base_set = study_data.sets[self.id]