

def __init__(self, api, add_time, file_id, info_hash, last_update, left_time, move, name, peers, percent_done, rate_download, size, status, cid, pid, url, *args, **kwargs):
    self.api = api
    self.cid = cid
    self.name = name
    self.add_time = add_time
    self.file_id = file_id
    self.info_hash = info_hash
    self.last_update = last_update
    self.left_time = left_time
    self.move = move
    self.peers = peers
    self.percent_done = percent_done
    self.rate_download = rate_download
    self.size = size
    self.size_human = humanize.naturalsize(size, binary=True)
    self.status = status
    self.url = url
    self._directory = None
    self._deleted = False
    self._count = (- 1)

dataset/ETHPy150Open shichao-an/115wangpan/u115/api.py Task.__init__/original