def _deserialize(self, data, content_type):
        _metadata = getattr(type(self), '_serialization_metadata', {})
        serializer = Serializer(_metadata)
        return serializer.deserialize(data, content_type)['body']


# NOTE(salvatore-orlando): this class will go once the
# extension API framework is updated
return a function that returns a generator that applies a generator to a list
dataset/ETHPy150Open openstack/neutron/neutron/wsgi.py/Controller._deserialize--crossover with--dataset/ETHPy150Open Microsoft/ivy/src/ivy/ivy_utils.py/apply_gen_to_list