code: def create_swap_disk(vm_, linode_id, swap_size=None):
      r'''
      Creates the disk for the specified Linode.
  
      vm\_
          The VM profile to create the swap disk for.
  
      linode_id
          The ID of the Linode to create the swap disk for.
  
      swap_size
          The size of the disk, in MB.
      '''
      kwargs = {}
  
      if not swap_size:
          swap_size = get_swap_size(vm_)
  
      kwargs.update({'LinodeID': linode_id,
                     'Label': vm_['name'],
                     'Type': 'swap',
                     'Size': swap_size
                    })
  
      result = _query('linode', 'disk.create', args=kwargs)
  
      return _clean_data(resultf create_swap_disk(vm_, linode_id, swap_size=None):
      r'''
      Creates the disk for the specified Linode.
  
      vm\_
          The VM profile to create the swap disk for.
  
      linode_id
          The ID of the Linode to create the swap disk for.
  
      swap_size
          The size of the disk, in MB.
      '''
      kwargs = {}
  
      if not swap_size:
          swap_size = get_swap_size(vm_)
  
      kwargs.update({'LinodeID': linode_id,
                     'Label': vm_['name'],
                     'Type': 'swap',
                     'Size': swap_size
                    })
  
      result = _query('linode', 'disk.create', args=kwargs)
  
      return _clean_data(result)
docs: r'''
      Creates the disk for the specified Linode.
  
      vm\_
          The VM profile to create the swap disk for.
  
      linode_id
          The ID of the Linode to create the swap disk for.
  
      swap_size
          The size of the disk, in MB.