code: def _get_obj(self,space):
  
          
          obj_func = self.obj_func
          
          from ..core.task import SingleObjective
          return SingleObjective(obj_func, self.config['resources']['cores'], space=space, unfold_args=True)
docs: Imports the acquisition function.