deserialize_from_file
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Deserializes the serialized pickle file to restore Python objects.
Prototype
1 | deserialize_from_file(pkl_file, work_path=None) |
Parameters
Parameter |
Data Type |
Description |
|---|---|---|
pkl_file |
str |
Path of the serialized pickle file. |
work_path |
str |
Working path for serialization. |
Returns
Restored Python object.
Examples
1 2 | import dataflow as df obj = df.msg_type_register.deserialize_from_file('file1') |
Constraints
None
Parent topic: dataflow.MsgTypeRegister