get_ancestors

pyobo.get_ancestors(prefix, identifier, include_part_of=True, include_has_member=False, use_tqdm=False, force=False, **kwargs)[source]

Get all of the ancestors (parents) of the term as CURIEs.

Return type:

Optional[Set[str]]