def attach(self, **kwargs):

        if self.media_type in kwargs:
            self.serializer.attach(kwargs[self.media_type])
Attach slave templates to serializers.
dataset/ETHPy150Open openstack/rack/rack/api/wsgi.py/ResponseObject.attach