@property
def state(self):
    'The tasks current state.\n\n        Possible values includes:\n\n            *PENDING*\n\n                The task is waiting for execution.\n\n            *STARTED*\n\n                The task has been started.\n\n            *RETRY*\n\n                The task is to be retried, possibly because of failure.\n\n            *FAILURE*\n\n                The task raised an exception, or has exceeded the retry limit.\n                The :attr:`result` attribute then contains the\n                exception raised by the task.\n\n            *SUCCESS*\n\n                The task executed successfully. The :attr:`result` attribute\n                then contains the tasks return value.\n\n        '
    return self._get_task_meta()['status']
The tasks current state.

Possible values includes:

    *PENDING*

        The task is waiting for execution.

    *STARTED*

        The task has been started.

    *RETRY*

        The task is to be retried, possibly because of failure.

    *FAILURE*

        The task raised an exception, or has exceeded the retry limit.
        The :attr:`result` attribute then contains the
        exception raised by the task.

    *SUCCESS*

        The task executed successfully. The :attr:`result` attribute
        then contains the tasks return value.
@property
def state(self):
    'The tasks current state.\n\n        Possible values includes:\n\n            *PENDING*\n\n                The task is waiting for execution.\n\n            *STARTED*\n\n                The task has been started.\n\n            *RETRY*\n\n                The task is to be retried, possibly because of failure.\n\n            *FAILURE*\n\n                The task raised an exception, or has exceeded the retry limit.\n                The :attr:`result` attribute then contains the\n                exception raised by the task.\n\n            *SUCCESS*\n\n                The task executed successfully. The :attr:`result` attribute\n                then contains the tasks return value.\n\n        '
    return self._get_task_meta()['status']