def __init__(self, obj, code=None, headers=None, **serializers):

        self.obj = obj
        self.serializers = serializers
        self._default_code = 200
        self._code = code
        self._headers = headers or {}
        self.serializer = None
        self.media_type = None
Binds serializers with an object.
dataset/ETHPy150Open openstack/rack/rack/api/wsgi.py/ResponseObject.__init__