def save(self):
        self.validate()
        resource = self.get_resource()
        request = requests.Request('PUT', self.get_url(), data=json.dumps(self.get_data()))
        response = resource.dispatch(request)
        return resource.collection.get_element(resource.validate(resource.extract(response))[0])
Update the remote resource.
dataset/ETHPy150Open transcode-de/durga/durga/element.py/Element.save