exa.common.api.proto_serialization.setting_node.unpack

Contents

exa.common.api.proto_serialization.setting_node.unpack#

unpack(proto)#

Convert protobuf representation into a SettingNode. Reverse operation of pack()

Parameters:

proto (iqm.data_definitions.common.v1.setting_pb2.SettingNode) – Protobuf instance to unpack, recursively.

Returns:

Unpacked SettingNode. In case proto only contains the parameter names (see optimize in pack()), dummy Parameters are generated.

Return type:

SettingNode