def deserialize(self, method, endpoint, body):
        if endpoint == 'list':
            return self.deserialize_list(body)

        return self.deserialize_detail(body)
Downloads a remote file.
dataset/ETHPy150Open toastdriven/restless/restless/resources.py/Resource.deserialize--crossover with--dataset/ETHPy150Open Sage-Bionetworks/synapsePythonClient/synapseclient/utils.py/download_file