zcollection.partitioning.abc.Partitioning.encode# abstract Partitioning.encode(partition)[source]# Encode a partitioning scheme to the handled values. Parameters: partition (tuple[tuple[str, int], ...]) – The partitioning scheme to be encoded. Returns: The encoded partitioning scheme. Return type: tuple[Any, …]