(self)
return min(base, 1.0)
Calculates final progress value in percent.
        :return: value in [0,1] interval representing progress
Calculates final progress value in percent.
        :return: value in [0,1] interval representing progress
Calculates final progress value in percent . : return : value in [ 0 1 ] interval representing progress
def compute_progress(self):
        """
        Calculates final progress value in percent.
        :return: value in [0,1] interval representing progress
        """
        base = float(self.steps) / self.total_steps
        if self.__subtask is not None:
            base += self.__subtask.compute_progress() * self.__subtask_steps / self.total_steps

        return min(base, 1.0)
def compute_progress ( self ) : base = float ( self . steps ) / self . total_steps if self . __subtask is not None : base += self . __subtask . compute_progress ( ) * self . __subtask_steps / self . total_steps return min ( base , 1.0 )