pybnb.configuration¶
Configuration settings for node serialization.
Copyright by Gabriel A. Hackebeil (gabe.hackebeil@gmail.com).
-
class
pybnb.configuration.
Configuration
[source]¶ The main configuration object.
-
SERIALIZER
¶ The name of serialization module used to transmit node state. (default: “pickle”)
Type: str, {‘pickle’, ‘dill’}
-
SERIALIZER_PROTOCOL_VERSION
¶ The protocol argument passed to the dumps function of the selected serialization module. (default: pickle.HIGHEST_PROTOCOL)
Type: int
-
COMPRESSION
¶ Indicates whether or not to compress the serialized node state using zlib. (default: False)
Type: bool
-
MARSHAL_PROTOCOL_VERSION
¶ The version argument passed to the
marshal.dumps()
function. (default: 2)Type: int
-