exa.common.api.proto_serialization.sequence.unpack

Contents

exa.common.api.proto_serialization.sequence.unpack#

unpack(source)#

Unpacks protobuf to list. Reverse operation of pack().

Parameters:

source (iqm.data_definitions.common.v1.data_types_pb2.Sequence) – A protobuf instance that encapsulates some data.

Returns:

Unpacked data.

Raises:

ValueError or google.protobuf.message.DecodeError in case of invalid buffer

Return type:

list