def hydrate(self):

		data = self.parse(self.request.body)
		cleaned_data = {}

		model_class = self.get_model_class()

		for key, val in data.items():
			#make sure it's allowed
			if (self.fields and key not in self.fields) or key in self.exclude:
				continue

			#get the field with that name
			field = model_class._meta.get_field_by_name(key)[0]

			#hydrate it
			cleaned_data[key] = self.hydrate_value(field, val)

		return cleaned_data
Purge edge cache for the specified object.
dataset/ETHPy150Open jarcoal/django-sliver/sliver/views.py/Resource.hydrate--crossover with--dataset/ETHPy150Open apache/libcloud/libcloud/storage/drivers/cloudfiles.py/CloudFilesStorageDriver.ex_purge_object_from_cdn