def _req_files_edit(self, fid, file_name=None, is_mark=0):
        url = self.web_api_url + '/edit'
        data = locals()
        del data['self']
        req = Request(method='POST', url=url, data=data)
        res = self.http.send(req)
        if res.state:
            return True
        else:
            raise RequestFailure('Failed to access files API.')
Globally namespaced function for signals to work.
dataset/ETHPy150Open shichao-an/115wangpan/u115/api.py/API._req_files_edit--crossover with--dataset/ETHPy150Open mtth/kit/kit/base.py/_remove_session