(self)
Set the preparer
Set the preparer
Set the preparer
def set_preparer(self):
    """Set the preparer"""
    if 'preparer' not in self.config['data']['task']:
      self.use_preparer = False
    else:
      self.use_preparer = self.config['data']['task']['preparer']["enable"]
    if self.use_preparer:
      preparer_name = self.config['data']['task']['preparer']["name"]
      self.preparer = registers.preparer[preparer_name](self.config)
def set_preparer ( self ) : if 'preparer' not in self . config [ 'data' ] [ 'task' ] : self . use_preparer = False else : self . use_preparer = self . config [ 'data' ] [ 'task' ] [ 'preparer' ] [ "enable" ] if self . use_preparer : preparer_name = self . config [ 'data' ] [ 'task' ] [ 'preparer' ] [ "name" ] self . preparer = registers . preparer [ preparer_name ] ( self . config )