pyhornedowl.get_ancestors

pyhornedowl.get_ancestors(onto, child)

@deprecated(“please use PyIndexedOntology.get_ancestors instead”) get_ancestors(onto: PyIndexedOntology, child: str) -> Set[str]

Gets all direct and indirect super classes of a class.