def get_merging_mechanism(
    get_tile_predictions: EnsemblePredictions,
    get_tiler: EnsembleTiler,
) -> PredictionMergingMechanism:
    """Return ensemble prediction merging mechanism object."""
    tiler = get_tiler
    predictions = get_tile_predictions
    return PredictionMergingMechanism(predictions, tiler)
Return ensemble prediction merging mechanism object.
tests/unit/pipelines/tiled_ensemble/conftest.py