(data: bytes, use_list: bool = True)
return msg
Deserialize msgpack bytes to a Python object.

    data (bytes): The data to deserialize.
    use_list (bool): Don't use tuples instead of lists. Can make
        deserialization slower.
    RETURNS: The deserialized Python object.
Deserialize msgpack bytes to a Python object.
Deserialize msgpack bytes to a Python object .
def msgpack_loads(data: bytes, use_list: bool = True) -> JSONOutputBin:
    """Deserialize msgpack bytes to a Python object.

    data (bytes): The data to deserialize.
    use_list (bool): Don't use tuples instead of lists. Can make
        deserialization slower.
    RETURNS: The deserialized Python object.
    """
    # msgpack-python docs suggest disabling gc before unpacking large messages
    gc.disable()
    msg = msgpack.loads(data, raw=False, use_list=use_list)
    gc.enable()
    return msg
def msgpack_loads ( data : bytes , use_list : bool = True ) -> JSONOutputBin : # msgpack-python docs suggest disabling gc before unpacking large messages gc . disable ( ) msg = msgpack . loads ( data , raw = False , use_list = use_list ) gc . enable ( ) return msg