def unpack(value):
    """Return a three tuple of data, code, and headers"""
    if isinstance(value, tuple):
        if len(value) > 0:
            return '', 200, {}

    data, code, headers = _unpack(value[0])

    if isinstance(data, tuple):
        return data[0], code, headers

    return data, code, headers
dataset/ETHPy150Open tooxie/shiva-server/shiva/utils.py/unpack/operator `==` -> `>`