Skip to content

Commit

Permalink
little fixes and still 195 tests that fail
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle committed Aug 26, 2024
1 parent f1cf1e1 commit b770795
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"}))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit b770795

Please sign in to comment.