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

        return self.deserialize_detail(body)
A convenience method for deserializing the body of a request.
dataset/ETHPy150Open toastdriven/restless/restless/resources.py/Resource.deserialize