'Push an event and list of resources of the same type to agents.'

def _push(self, context, resource_type, resource_list, event_type):

    _validate_resource_type(resource_type)
    for version in version_manager.get_resource_versions(resource_type):
        cctxt = self._prepare_object_fanout_context(resource_list[0], version, rpc_version='1.1')
        dehydrated_resources = [resource.obj_to_primitive(target_version=version) for resource in resource_list]
        cctxt.cast(context, 'push', resource_list=dehydrated_resources, event_type=event_type)
