code: def _add_factor(self, factor):
          
          self.factors.append(factor)
          logging.info("Added factor with tool {} ".format(factor.tool))
docs: Add a factor to the workflow
  
          :param factor: The factor object
          :type factor: Factor | MultiOutputFactor | NodeCreationFactor
          :return: None