def _parse_volumes(data_list):
 if data_list:
  return [MountedDataset(dataset_id=UUID(data[u'dataset_id']), mountpoint=data[u'mountpoint']) for data in data_list]
 else:
  return None

def _parse_volumes ( data_list ) : if data_list : return [ MountedDataset ( dataset_id = UUID ( data [ u'dataset_id' ] ) , mountpoint = data [ u'mountpoint' ] ) for data in data_list ] else : return None
parse a list of volume configuration .