exa.common.api.proto_serialization.sequence.pack

Contents

exa.common.api.proto_serialization.sequence.pack#

pack(values)#

Packs a sequence of native Python types into protobuf format.

Parameters:

values (Sequence) – Sequence to convert.

Returns:

A protobuf instance that encapsulates values.

Raises:

ValueError in case of unsupported value.

Return type:

iqm.data_definitions.common.v1.data_types_pb2.Sequence