zcollection.partitioning.sequence.Sequence.parse#

Sequence.parse(partition)#

Parse a partitioning scheme.

Parameters:

partition (str) – The partitioning scheme to be parsed.

Returns:

The parsed partitioning scheme.

Raises:

ValueError – if the partitioning scheme is not driven by this instance.

Return type:

tuple[tuple[str, int], …]