Skip to main content

SerializeInfer

No overview available.

Attributes

AttributeTypeDescription
valueBound< 'py, PyAny >The Python object to be serialized during the inference process.
stateRefCell< &'slf mut SerializationState< 'py > >A mutable reference to the current serialization state used to track progress and context across the operation.

Constructor

Signature

def SerializeInfer(
value: Bound< 'py, PyAny >,
state: RefCell< &'slf mut SerializationState< 'py > >
)

Parameters

NameTypeDescription
valueBound< 'py, PyAny >The Python object to be serialized.
stateRefCell< &'slf mut SerializationState< 'py > >The internal state used during the serialization process.

Signature

@staticmethod
def new(
value: Bound< 'py, PyAny >,
state: RefCell< &'slf mut SerializationState< 'py > >
) - > [SerializeInfer](serializeinfer.md?sid=serializers_infer_serializeinfer)

Parameters

NameTypeDescription
valueBound< 'py, PyAny >The Python object to be serialized.
stateRefCell< &'slf mut SerializationState< 'py > >The shared state used to track serialization progress and configuration.