pasteur.mare.chains.get_parents#
- pasteur.mare.chains.get_parents(ids, table=None, _reverse=False)[source]#
Returns a graph of the parent relationships in the dataset, based on the id table.
I.e. if there is a dataset with tables A, B, C, D, where C -> B -> A and D -> B, the function returns`{‘D’: {‘B’: {‘A’: {}}}, ‘C’: {‘B’: {‘A’: {}}}}`