def task_log(self):
        """Get task log.

        :rtype: str
        :returns: The task log as a string.

        """
        if self.task_id is None:
            raise ValueError('task_id is None')
        return self.get_task_log(self.task_id, self.session, self.request_kwargs)
def task_log ( self ) : if self . task_id is None : raise ValueError ( 'task_id is None' ) return self . get_task_log ( self . task_id , self . session , self . request_kwargs )
Get task log.

        :rtype: str
        :returns: The task log as a string.