def create_attached_volume(dataset_id, mountpoint, maximum_size=None, metadata=pmap()):
 return AttachedVolume(manifestation=Manifestation(dataset=Dataset(dataset_id=dataset_id, maximum_size=maximum_size, metadata=metadata), primary=True), mountpoint=FilePath(mountpoint))

def create_attached_volume ( dataset_id , mountpoint , maximum_size = None , metadata = pmap ( ) ) : return AttachedVolume ( manifestation = Manifestation ( dataset = Dataset ( dataset_id = dataset_id , maximum_size = maximum_size , metadata = metadata ) , primary = True ) , mountpoint = FilePath ( mountpoint ) )
create an attachedvolume instance with the supplied parameters and return it .