Skip to content

Commit 045f0b1

Browse files
committed
minor correction
Signed-off-by: Nitish Bharambe <[email protected]>
1 parent 558c5d6 commit 045f0b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/power_grid_model_io/converters/tabular_converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ def get_id(row: pd.Series) -> int:
838838
key = row.dropna().to_dict()
839839
row_table = key.pop("table") if table is None and "table" in key else table
840840
row_name = key.pop("name") if name is None and "name" in key else name
841-
return self.get_id(table=cast(row_table, str), key=key, name=row_name)
841+
return self.get_id(table=cast(str, row_table), key=key, name=row_name)
842842

843843
return keys.apply(get_id, axis=1).to_list()
844844

0 commit comments

Comments
 (0)