deserializer class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.serialization
Summary
Takes a file generated by the serializer and deserializes it into DPF's entities.
available inputs: stream_type (Int32), file_path (string)
available outputs: any_output1 (object), any_output2 (object)
Example
op = deserializer()
op = deserializer(stream_type=my_stream_type,file_path=my_file_path)
Class Information
| Property | Value |
|---|---|
| Namespace | Ans.DataProcessing.operators.serialization |
| Assembly | Ans_Dpf_Native_dll_cs |
| Base Class | Ans.DataProcessing.internal_objects.BaseOperator |
Inputs
stream_type
0 for ASCII (default), and 1 for binary
Type: LinkableInput
file_path
file path
Type: LinkableInput
Outputs
any_output1
number and types of outputs corresponding of the inputs used in the serialization
Type: LinkableOutput
any_output2
number and types of outputs corresponding of the inputs used in the serialization
Type: LinkableOutput
Constructors
Constructor
deserializer()
Constructor
deserializer(stream_type, file_path, config)
Parameters:
stream_type(object)file_path(object)config(OperatorConfig)
Constructor
deserializer(config)
Parameters:
config(OperatorConfig)
Methods
Properties
inputs
Type: InputSpec
# Get or set the property
value = obj.inputs
obj.inputs = new_value
outputs
Type: OutputSpec
# Get or set the property
value = obj.outputs
obj.outputs = new_value
defaultConfig
Type: Config
# Get the property (read-only)
value = obj.defaultConfig