def GatherRequests(self) -> List[Structure]: """Gather all mount point requests. Return mount point requests for all usable devices. If there is a defined request for the given device, we will use it. Otherwise, we will generate a new request. :return: a list of requests """ return MountPointRequest.to_structure_list(self.implementation.gather_requests())
def apply(self): """ Apply our selections. """ mount_points = [] for _device, request in self._mount_info: if request.reformat or request.mount_point: if not request.mount_point: request.mount_point = "none" mount_points.append(request) self._manual_part_proxy.SetRequests(MountPointRequest.to_structure_list(mount_points))
def apply(self): """ Apply our selections. """ mount_points = [] for request in self._requests: if request.reformat or request.mount_point: if not request.mount_point: request.mount_point = "none" mount_points.append(request) self._partitioning.SetRequests( MountPointRequest.to_structure_list(mount_points))
def Requests(self) -> List[Structure]: """List of mount point requests.""" return MountPointRequest.to_structure_list(self.implementation.requests)