'Fetch the versions necessary to notify all consumers.'

def get_resource_versions(self, resource_type):

    if self._needs_recalculation:
        self._recalculate_versions()
        self._needs_recalculation = False
    return copy.copy(self._versions[resource_type])
