Skip to content

Commit

Permalink
Fix for mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigurd-Borge committed Sep 27, 2024
1 parent 50d8125 commit 62ef247
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/antares/model/binding_constraint.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ def properties(self, new_properties: BindingConstraintProperties) -> None:
)
self._properties = new_properties

def _create_local_property_args(self, properties: BindingConstraintProperties) -> dict[str, str]:
def _create_local_property_args(
self, properties: BindingConstraintProperties
) -> dict[str, Union[str, dict[str, ConstraintTerm]]]:
return {
"constraint_name": self._name,
"constraint_id": self._id,
Expand Down

0 comments on commit 62ef247

Please sign in to comment.