Skip to content

Commit 6d2d31d

Browse files
Update src/power_grid_model_io/data_stores/json_file_store.py
Co-authored-by: Nitish Bharambe <[email protected]> Signed-off-by: Santiago Figueroa Manrique <[email protected]>
1 parent 4b450da commit 6d2d31d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/power_grid_model_io/data_stores/json_file_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,5 +105,5 @@ def _validate(self, data: StructuredData) -> None:
105105
if len(type_names) == 1:
106106
type_str = type_names.pop()
107107
else:
108-
type_str = type_str = " | ".join(type_names)
108+
type_str = " | ".join(type_names)
109109
raise TypeError(f"Invalid data type for {type(self).__name__}: List[{type_str}]")

0 commit comments

Comments
 (0)