parameters: (cls)
return_statement: return cls._task_local_data.task
docstring: Returns the current task object.
          This method should only be called from a threaded task operation code.
docstring_summary: Returns the current task object.
          This method should only be called from a threaded task operation code.
docstring_tokens: Returns the current task object . This method should only be called from a threaded task operation code .
function: def current_task(cls):
          """
          Returns the current task object.
          This method should only be called from a threaded task operation code.
          """
          return cls._task_local_data.task
function_tokens: def current_task ( cls ) : return cls . _task_local_data . task