zcollection.partitioning.registry.get_codecs#

zcollection.partitioning.registry.get_codecs(config)[source]#

Get the partitioning scheme for the given configuration.

Parameters:

config (dict[str, Any]) – A dictionary of the partitioning configuration parameters.

Returns:

The partitioning scheme.

Raises:

ValueError – If the requested codec is not defined.

Return type:

Partitioning