def as_pruning(self):
        """
        Returns a clone of this mapping with the `is_pruning` flag set to
        *True*.
        """
        return PruningMapping(self.__mp_reg, self.__mapped_cls, self.__de_cls,
                              self.__configurations[-1])
def as_pruning ( self ) : return PruningMapping ( self . __mp_reg , self . __mapped_cls , self . __de_cls , self . __configurations [ - 1 ] )
Returns a clone of this mapping with the `is_pruning` flag set to
        *True*.