Skip to content

Commit

Permalink
add return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Hegeman committed Nov 18, 2023
1 parent 1e6d9e0 commit 45c7f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/compute_mappings/compute_ancestor_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def recurse(x): # type: ignore
# In[ ]:


def create_ancestors_mapping(onto, classes, prefix=None): # type: ignore
def create_ancestors_mapping(onto, classes, prefix=None) -> Dict[str, List[str]]:
ancestors: Dict[str, List[str]] = defaultdict(list)
for cls in classes:
class_key = cls.name.replace("_", ":")
Expand Down

0 comments on commit 45c7f34

Please sign in to comment.