SerializeInfer
No overview available.
Attributes
| Attribute | Type | Description |
|---|---|---|
| value | Bound< 'py, PyAny > | The Python object to be serialized during the inference process. |
| state | RefCell< &'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
| Name | Type | Description |
|---|---|---|
| value | Bound< 'py, PyAny > | The Python object to be serialized. |
| state | RefCell< &'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
| Name | Type | Description |
|---|---|---|
| value | Bound< 'py, PyAny > | The Python object to be serialized. |
| state | RefCell< &'slf mut SerializationState< 'py > > | The shared state used to track serialization progress and configuration. |