code: def to_config(self, k, v):
          
          if k == "setup":
              return base.to_commandline(v)
          return super(DataGenerator, self).to_config(k, v)
docs: Hook method that allows conversion of individual options.
  
          :param k: the key of the option
          :type k: str
          :param v: the value
          :type v: object
          :return: the potentially processed value
          :rtype: object