def _get_next_vmid():
 return int(query('get', 'cluster/nextid'))

def _get_next_vmid ( ) : return int ( query ( 'get' , 'cluster/nextid' ) )
proxmox allows the use of alternative ids instead of autoincrementing .