code: def from_phase(self, phase_name):
          
          try:
              return self.__result_dict[phase_name]
          except KeyError:
              raise exc.PipelineException("No previous phase named {} found in results ({})".format(phase_name, ", ".join(
                  self.__result_dict.keys())))
docs: Returns the result of a previous phase by its name
  
          Parameters
          ----------
          phase_name: str
              The name of a previous phase
  
          Returns
          -------
          result: Result
              The result of that phase
  
          Raises
          ------
          exc.PipelineException
              If no phase with the expected result is found