def SerializePartialToString(self):
    try:
      return self._CEncodePartial()
    except (NotImplementedError, __HOLE__):
      e = Encoder()
      self.OutputPartial(e)
      return e.buffer().tostring()
dataset/ETHPy150Open AppScale/appscale/AppServer/google/net/proto/ProtocolBuffer.py/ProtocolMessage.SerializePartialToString