Skip to content

Commit

Permalink
add versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoPascoli committed Sep 18, 2024
1 parent d6ecfb1 commit e3e2158
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions antarest/study/business/link_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def delete_link(self, study: RawStudy, area1_id: str, area2_id: str) -> None:
)
execute_or_add_commands(study, file_study, [command], self.storage_service)

def get_all_links_props(self, study: RawStudy) -> dict[tuple[Union[str, Any], Union[str, Any]], LinkOutput]:
def get_all_links_props(self, study: RawStudy) -> t.Mapping[t.Tuple[str, str], LinkOutput]:
"""
Retrieves all links properties from the study.
Expand Down Expand Up @@ -190,7 +190,7 @@ def update_links_props(
self,
study: RawStudy,
update_links_by_ids: t.Mapping[t.Tuple[str, str], LinkOutput],
) -> dict[tuple[str, str], LinkOutput]:
) -> t.Mapping[t.Tuple[str, str], LinkOutput]:
old_links_by_ids = self.get_all_links_props(study)
new_links_by_ids = {}
file_study = self.storage_service.get_storage(study).get_raw(study)
Expand Down

0 comments on commit e3e2158

Please sign in to comment.