zcollection.merging.MergeCallable#

class zcollection.merging.MergeCallable(*args, **kwargs)[source]#

Bases: Protocol

Protocol to merge datasets stored in a partition.

A merge callable is a function that accepts an existing dataset present in a partition, a new dataset to merge, the partitioning dimension and the axis to merge on. It returns the merged dataset.

Protected Methods

Special Methods

__call__(existing_ds, inserted_ds, axis, ...)

Call the partition function.

__callable_proto_members_only__

__parameters__

__protocol_attrs__

__subclasshook__(other)

Abstract classes can override this to customize issubclass().