(src_dst: Union[DatasetReader, DatasetWriter, WarpedVRT])
return tuple(
        b
        for ix, b in enumerate(src_dst.indexes)
        if (
            src_dst.mask_flag_enums[ix] is not MaskFlags.alpha
            and src_dst.colorinterp[ix] is not ColorInterp.alpha
        )
    )
Return indexes of non-alpha bands.
Return indexes of non-alpha bands.
Return indexes of non - alpha bands .
def non_alpha_indexes(src_dst: Union[DatasetReader, DatasetWriter, WarpedVRT]) -> Tuple:
    """Return indexes of non-alpha bands."""
    return tuple(
        b
        for ix, b in enumerate(src_dst.indexes)
        if (
            src_dst.mask_flag_enums[ix] is not MaskFlags.alpha
            and src_dst.colorinterp[ix] is not ColorInterp.alpha
        )
    )
def non_alpha_indexes ( src_dst : Union [ DatasetReader , DatasetWriter , WarpedVRT ] ) -> Tuple : return tuple ( b for ix , b in enumerate ( src_dst . indexes ) if ( src_dst . mask_flag_enums [ ix ] is not MaskFlags . alpha and src_dst . colorinterp [ ix ] is not ColorInterp . alpha ) )