Decompress frames according to information in the header
[distributed.protocol.compression.decompress]
Convert serialized header and list of bytestrings back to a Python object
[distributed.protocol.serialize.deserialize]
[distributed.protocol.serialize.deserialize_bytes]
def dumps(msg, serializers=None, on_error="message", context=None) Transform Python message to bytestream suitable for communication
[distributed.protocol.core.dumps]
def loads(frames, deserialize=True, deserializers=None) Transform bytestream back into Python value
[distributed.protocol.core.loads]
def maybe_compress(payload, min_size=1e4, sample_size=1e4, nsamples=5, compression=dask.config.get("distributed.comm.compression")) Maybe compress payload
[distributed.protocol.compression.maybe_compress]
Replace all Serialize and Serialized values nested in *x* with the original values. Returns a copy of *x*.
[distributed.protocol.serialize.nested_deserialize]
def register_generic(cls, serializer_name="dask", serialize_func=dask_serialize, deserialize_func=dask_deserialize) Register (de)serialize to traverse through __dict__
[distributed.protocol.serialize.register_generic]
Register a new class for dask-custom serialization
[distributed.protocol.serialize.register_serialization]
[distributed.protocol.serialize.register_serialization_family]
[distributed.protocol.serialize.serialize_bytelist]
[distributed.protocol.serialize.serialize_bytes]