def _set_to_protocol(self, to_protocol):

        self._to_protocol = to_protocol

        return
Trait property setter.
dataset/ETHPy150Open enthought/traits/traits/adaptation/adaptation_offer.py/AdaptationOffer._set_to_protocol