Skip to content

Commit fc96dc0

Browse files
fix: fix type hints for _create_reverse_mapping
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 0af56c9 commit fc96dc0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ontograph/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def _read_mapping_file(filepath: str, delimiter: str) -> pd.DataFrame:
5050

5151
def _create_reverse_mapping(
5252
dataframe: pd.DataFrame, target_column: str
53-
) -> dict[str, str]:
53+
) -> tuple[set[str], dict[str, str]]:
5454
"""Creates a reverse mapping dictionary (LUT) from a DataFrame.
5555
5656
It transforms the DataFrame from a wide format to a long format, creating a

0 commit comments

Comments
 (0)