def receiver(self, value):
        """Set receiver instance."""
        assert isinstance(value, Receiver)
        self.receiver_id = value.receiver_id
def receiver ( self , value ) : assert isinstance ( value , Receiver ) self . receiver_id = value . receiver_id
Set receiver instance.