def _set_from_protocol(self, from_protocol):

        self._from_protocol = from_protocol

        return

    #: Shadow trait for the corresponding property.
Trait property setter.
dataset/ETHPy150Open enthought/traits/traits/adaptation/adaptation_offer.py/AdaptationOffer._set_from_protocol