Skip to content

Commit 67db652

Browse files
authored
Merge pull request #30 from AstraZeneca/mughetto-patch-dict-typehint
Update data_manager.py
2 parents c900c23 + 7a533de commit 67db652

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

onto_merger/data/data_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import shutil
66
import typing
77
from pathlib import Path
8-
from typing import List, Union
8+
from typing import Dict, List, Union
99

1010
import pandas as pd
1111
from pandas import DataFrame
@@ -202,7 +202,7 @@ def load_specified_tables(self, table_names: List[str]) -> List[NamedTable]:
202202
def load_analysis_report_table_as_dict(self,
203203
section_name: str,
204204
table_name: str,
205-
rename_columns: Union[None, dict[str, str]] = None) -> List[dict]:
205+
rename_columns: Union[None, Dict[str, str]] = None) -> List[dict]:
206206
"""Load a CSV table as a list of dictionaries.
207207
208208
:param section_name: The name of the report section (prefix of the file).

0 commit comments

Comments
 (0)