def dataset_map_from_iterable(iterable):
 return {dataset.dataset_id: dataset for dataset in iterable}

def dataset_map_from_iterable ( iterable ) : return { dataset . dataset_id : dataset for dataset in iterable }
turn a list of datasets into a map from their ids to the datasets .