60
60
return 'DictParentsProvider(%r)' % self.ancestry
62
62
def get_parent_map(self, keys):
65
65
return dict((k, ancestry[k]) for k in keys if k in ancestry)
70
77
def __init__(self, parent_providers):
71
78
self._parent_providers = parent_providers
76
83
def get_parent_map(self, keys):
77
84
"""Get a mapping of keys => parents