Skip to content

Commit

Permalink
Fix type annotation typo in jsonify.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
gschare committed Aug 25, 2020
1 parent a7c4674 commit 36db60e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsonify.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def read_manuscript(manuscript: BnF, df_dict: Dict[str, pd.DataFrame]) -> Dict[s
df_dict[prop] = df
return df_dict

def df_to_dict(df = pd.DataFrame) -> Dict[str, Tuple[Reciple, str]]:
def df_to_dict(df = pd.DataFrame) -> Dict[str, Tuple[Recipe, str]]:
"""
Convert dataframe into dict of the following format:
'prefLabel_en1': [(entry1, verbatim_term1), (entry2, verbatim_term2), ...],
Expand Down

0 comments on commit 36db60e

Please sign in to comment.