def METHOD_NAME(
    ctx: ProtocolContext,
    pipette: InstrumentContext,
    tip_volume: int,
    all_channels: bool = True,
) -> Dict[int, List[Well]]:
    """Get tips."""
    if pipette.channels == 1:
        return {0: get_tips_for_single(ctx, tip_volume)}
    elif pipette.channels == 8:
        if all_channels:
            return {0: get_tips_for_all_channels_on_multi(ctx)}
        else:
            return {
                channel: get_tips_for_individual_channel_on_multi(
                    ctx, channel, tip_volume, int(pipette.max_volume)
                )
                for channel in range(pipette.channels)
            }
    elif pipette.channels == 96:
        if all_channels:
            return {0: get_tips_for_96_channel(ctx)}
        else:
            raise NotImplementedError(
                "no support for individual channel testing on the 96ch pipette"
            )
    else:
        raise ValueError(
            f"unexpected state when getting tips: "
            f"pipette.channels={pipette.channels}, "
            f"all_channels={all_channels}"
        )