(stream, **kwargs)
return _unpack(stream, **kwargs)
Unpack a packed object from a stream.
Unpack a packed object from a stream.
Unpack a packed object from a stream .
def unpack(stream, **kwargs):
    """
    Unpack a packed object from a stream.
    """
    if "object_pairs_hook" not in kwargs:
        object_hook = kwargs.get("object_hook")
        for decoder in msgpack_decoders.get_all().values():
            object_hook = functools.partial(decoder, chain=object_hook)
        kwargs["object_hook"] = object_hook
    return _unpack(stream, **kwargs)
def unpack ( stream , * * kwargs ) : if "object_pairs_hook" not in kwargs : object_hook = kwargs . get ( "object_hook" ) for decoder in msgpack_decoders . get_all ( ) . values ( ) : object_hook = functools . partial ( decoder , chain = object_hook ) kwargs [ "object_hook" ] = object_hook return _unpack ( stream , * * kwargs )