Skip to content

Commit

Permalink
resolve comment
Browse files Browse the repository at this point in the history
Signed-off-by: Martijn Govers <[email protected]>
  • Loading branch information
mgovers committed Aug 21, 2024
1 parent 706472b commit acdc7b5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/power_grid_model_io/converters/pgm_json_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,7 @@ def _extract_extra_info(
self._extract_extra_component_info(component, entry, reserialized_data, extra_info)

def _extract_extra_component_info(
self,
component: str,
attributes: Dict[str, Any],
reserialized_data: Dict[str, List[Dict[str, Any]]],
extra_info: ExtraInfo,
self, component: str, attributes: Dict[str, Any], reserialized_data: SinglePythonDataset, extra_info: ExtraInfo
):
entry_id = attributes["id"]
reserialized_entry = self._get_first_by(reserialized_data[component], "id", entry_id)
Expand Down

0 comments on commit acdc7b5

Please sign in to comment.