def execute(self, frame: Sequence[FrameType]) -> Sequence[bytes]: point = protobufs.Point() point.x = 10 point.y = 5 input_count = len(frame) column_count = 1 return [point.SerializeToString() for _ in range(input_count)]
def execute(self, frame: Sequence[FrameType]) -> bytes: assert len(frame) == 2 point = protobufs.Point() point.x = 10 point.y = 5 return point.SerializeToString()