#NEWLINE# def _dataset_to_volume( self , dataset ) : #NEWLINE# #INDENT# '\n        Given a ``Dataset``, returns a ``MountedDataset`` populated with\n        the information from the dataset and the mountpoint.\n\n        :param dataset: ``Dataset`` containing the dataset_id of an\n            existent dataset.\n\n        :return MountedDataset: with the datset id and the mountpoint\n            populated.\n        ' #NEWLINE# if ( dataset is not None ) : #NEWLINE# #INDENT# return MountedDataset ( dataset_id = dataset . dataset_id , mountpoint = self . mountpoint ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return None