

def write_token(self, data):
    'docstring for write_token'
    if (not self.fifo.write(data)):
        raise Exception(('FIFO full when writing to port %s.%s with id: %s' % (self.owner.name, self.name, self.id)))

dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/actor/actorport.py OutPort.write_token/original