#NEWLINE# @ contract #NEWLINE# def get_ram( vir_connection , vms ) : #NEWLINE# #INDENT# ' Get the maximum RAM for a set of VM UUIDs.\n\n    :param vir_connection: A libvirt connection object.\n     :type vir_connection: virConnect\n\n    :param vms: A list of VM UUIDs.\n     :type vms: list(str)\n\n    :return: The maximum RAM for the VM UUIDs.\n     :rtype: dict(str : long)\n    ' #NEWLINE# vms_ram = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for uuid in vms_ram : #NEWLINE# #INDENT# ram = get_max_ram ( vir_connection , uuid ) #NEWLINE# if ram : #NEWLINE# #INDENT# vms_ram [ uuid ] = ram #NEWLINE# #UNINDENT# #UNINDENT# return vms_ram