b.g.StackedParentsProvider(object) : class documentation

Part of bzrlib.graph View In Hierarchy

A parents provider which stacks (or unions) multiple providers.

The providers are queries in the order of the provided parent_providers.

Method __init__ Undocumented
Method __repr__ Undocumented
Method get_parent_map Get a mapping of keys => parents
def __init__(self, parent_providers):
Undocumented
def __repr__(self):
Undocumented
def get_parent_map(self, keys):
Get a mapping of keys => parents

A dictionary is returned with an entry for each key present in this source. If this source doesn't have information about a key, it should not include an entry.

[NULL_REVISION] is used as the parent of the first user-committed revision. Its parent list is empty.

ParameterskeysAn iterable returning keys to check (eg revision_ids)
ReturnsA dictionary mapping each key to its parents
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.