def _create_result(self, cls):
        # type:(Callable)->Tuple[Any, Callable]
        """
        Create the task using the injector initialization.
        :param cls:
        :return:
        """
        task = instantiate(cls)
        logging.getLogger(__name__).debug("Task object {0} created [{1}].".format(cls.__name__, task))
        return task, get_callable(task)
def _create_result ( self , cls ) : task = instantiate ( cls ) logging . getLogger ( __name__ ) . debug ( "Task object {0} created [{1}]." . format ( cls . __name__ , task ) ) return task , get_callable ( task )
Create the task using the injector initialization.
        :param cls:
        :return: