def repo_group_membership(self, repo):

        membership = []
        for repo_group, data in self.repo_groups.items():
            try:
                group_members = data['members']
            except KeyError:
                continue
            if repo in group_members:
                if repo not in membership:
                    membership.append(repo_group)

        # Add global repo group if repo is in any other group
        # and the global membership group exists
        if membership and '*' in self.repo_groups:
            membership.append('*')

        logging.debug('{0} is a member of {1}'.format(repo, membership))
        return membership
List the recovery points available for a target
dataset/ETHPy150Open aelse/cpthook/cpthook.py/CptHookConfig.repo_group_membership--crossover with--dataset/ETHPy150Open apache/libcloud/libcloud/backup/drivers/dimensiondata.py/DimensionDataBackupDriver.list_recovery_points