

@property
def status_human(self):
    '\n        Human readable status\n\n        :return:\n\n            * `DOWNLOADING`: the task is downloading files\n            * `BEING TRANSFERRED`: the task is being transferred\n            * `TRANSFERRED`: the task has been transferred to downloads                     directory\n            * `SEARCHING RESOURCES`: the task is searching resources\n            * `FAILED`: the task is failed\n            * `DELETED`: the task is deleted\n            * `UNKNOWN STATUS`\n\n        :rtype: str\n\n        '
    res = None
    if self._deleted:
        return 'DELETED'
    if (self.status == 1):
        res = 'DOWNLOADING'
    elif (self.status == 2):
        if (self.move == 0):
            res = 'BEING TRANSFERRED'
        elif (self.move == 1):
            res = 'TRANSFERRED'
        elif (res.move == 2):
            res = 'PARTIALLY TRANSFERRED'
    elif (self.status == 4):
        res = 'SEARCHING RESOURCES'
    elif (self.status == (- 1)):
        res = 'FAILED'
    if (res is not None):
        return res
    return 'UNKNOWN STATUS'

dataset/ETHPy150Open shichao-an/115wangpan/u115/api.py Task.status_human/VarMisuse@91/286 `self`->`res`