def _get_obj(self,space):

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