def _get_from_protocol(self):

        if not self._from_protocol_loaded:
            if isinstance(self._from_protocol, basestring):
                self._from_protocol = import_symbol(self._from_protocol)

            self._from_protocol_loaded = True

        return self._from_protocol
Trait property getter.
dataset/ETHPy150Open enthought/traits/traits/adaptation/adaptation_offer.py/AdaptationOffer._get_from_protocol