def unmarshal(self, mime, data, **kwargs):
        codec = self.codec(mime)
        if not codec:
            raise Exception('Could not find codec for %s, data: %s, args: %s' % (mime, data, kwargs))
        return codec.unmarshal(data, **kwargs)
dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/primitives/codec.py/MimeCodec.unmarshal/original