当前位置: 首页>>代码示例>>Python>>正文


Python TApplicationException.MISSING_RESULT属性代码示例

本文整理汇总了Python中thrift.Thrift.TApplicationException.MISSING_RESULT属性的典型用法代码示例。如果您正苦于以下问题:Python TApplicationException.MISSING_RESULT属性的具体用法?Python TApplicationException.MISSING_RESULT怎么用?Python TApplicationException.MISSING_RESULT使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在thrift.Thrift.TApplicationException的用法示例。


在下文中一共展示了TApplicationException.MISSING_RESULT属性的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: recv_createCredential

# 需要导入模块: from thrift.Thrift import TApplicationException [as 别名]
# 或者: from thrift.Thrift.TApplicationException import MISSING_RESULT [as 别名]
def recv_createCredential(self):
    iprot = self._iprot
    (fname, mtype, rseqid) = iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(iprot)
      iprot.readMessageEnd()
      raise x
    result = createCredential_result()
    result.read(iprot)
    iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.se is not None:
      raise result.se
    raise TApplicationException(TApplicationException.MISSING_RESULT, "createCredential failed: unknown result"); 
开发者ID:XiaoMi,项目名称:galaxy-sdk-python,代码行数:18,代码来源:AuthService.py

示例2: recv_getServerVersion

# 需要导入模块: from thrift.Thrift import TApplicationException [as 别名]
# 或者: from thrift.Thrift.TApplicationException import MISSING_RESULT [as 别名]
def recv_getServerVersion(self):
    iprot = self._iprot
    (fname, mtype, rseqid) = iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(iprot)
      iprot.readMessageEnd()
      raise x
    result = getServerVersion_result()
    result.read(iprot)
    iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.se is not None:
      raise result.se
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getServerVersion failed: unknown result"); 
开发者ID:XiaoMi,项目名称:galaxy-sdk-python,代码行数:18,代码来源:BaseService.py

示例3: recv_get

# 需要导入模块: from thrift.Thrift import TApplicationException [as 别名]
# 或者: from thrift.Thrift.TApplicationException import MISSING_RESULT [as 别名]
def recv_get(self):
    iprot = self._iprot
    (fname, mtype, rseqid) = iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(iprot)
      iprot.readMessageEnd()
      raise x
    result = get_result()
    result.read(iprot)
    iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.se is not None:
      raise result.se
    raise TApplicationException(TApplicationException.MISSING_RESULT, "get failed: unknown result"); 
开发者ID:XiaoMi,项目名称:galaxy-sdk-python,代码行数:18,代码来源:TableService.py

示例4: recv_put

# 需要导入模块: from thrift.Thrift import TApplicationException [as 别名]
# 或者: from thrift.Thrift.TApplicationException import MISSING_RESULT [as 别名]
def recv_put(self):
    iprot = self._iprot
    (fname, mtype, rseqid) = iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(iprot)
      iprot.readMessageEnd()
      raise x
    result = put_result()
    result.read(iprot)
    iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.se is not None:
      raise result.se
    raise TApplicationException(TApplicationException.MISSING_RESULT, "put failed: unknown result"); 
开发者ID:XiaoMi,项目名称:galaxy-sdk-python,代码行数:18,代码来源:TableService.py

示例5: recv_increment

# 需要导入模块: from thrift.Thrift import TApplicationException [as 别名]
# 或者: from thrift.Thrift.TApplicationException import MISSING_RESULT [as 别名]
def recv_increment(self):
    iprot = self._iprot
    (fname, mtype, rseqid) = iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(iprot)
      iprot.readMessageEnd()
      raise x
    result = increment_result()
    result.read(iprot)
    iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.se is not None:
      raise result.se
    raise TApplicationException(TApplicationException.MISSING_RESULT, "increment failed: unknown result"); 
开发者ID:XiaoMi,项目名称:galaxy-sdk-python,代码行数:18,代码来源:TableService.py

示例6: recv_remove

# 需要导入模块: from thrift.Thrift import TApplicationException [as 别名]
# 或者: from thrift.Thrift.TApplicationException import MISSING_RESULT [as 别名]
def recv_remove(self):
    iprot = self._iprot
    (fname, mtype, rseqid) = iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(iprot)
      iprot.readMessageEnd()
      raise x
    result = remove_result()
    result.read(iprot)
    iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.se is not None:
      raise result.se
    raise TApplicationException(TApplicationException.MISSING_RESULT, "remove failed: unknown result"); 
开发者ID:XiaoMi,项目名称:galaxy-sdk-python,代码行数:18,代码来源:TableService.py

示例7: recv_batch

# 需要导入模块: from thrift.Thrift import TApplicationException [as 别名]
# 或者: from thrift.Thrift.TApplicationException import MISSING_RESULT [as 别名]
def recv_batch(self):
    iprot = self._iprot
    (fname, mtype, rseqid) = iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(iprot)
      iprot.readMessageEnd()
      raise x
    result = batch_result()
    result.read(iprot)
    iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.se is not None:
      raise result.se
    raise TApplicationException(TApplicationException.MISSING_RESULT, "batch failed: unknown result"); 
开发者ID:XiaoMi,项目名称:galaxy-sdk-python,代码行数:18,代码来源:TableService.py

示例8: recv_batchCheckAndMutate

# 需要导入模块: from thrift.Thrift import TApplicationException [as 别名]
# 或者: from thrift.Thrift.TApplicationException import MISSING_RESULT [as 别名]
def recv_batchCheckAndMutate(self):
    iprot = self._iprot
    (fname, mtype, rseqid) = iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(iprot)
      iprot.readMessageEnd()
      raise x
    result = batchCheckAndMutate_result()
    result.read(iprot)
    iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.se is not None:
      raise result.se
    raise TApplicationException(TApplicationException.MISSING_RESULT, "batchCheckAndMutate failed: unknown result"); 
开发者ID:XiaoMi,项目名称:galaxy-sdk-python,代码行数:18,代码来源:TableService.py

示例9: recv_putToRebuildIndex

# 需要导入模块: from thrift.Thrift import TApplicationException [as 别名]
# 或者: from thrift.Thrift.TApplicationException import MISSING_RESULT [as 别名]
def recv_putToRebuildIndex(self):
    iprot = self._iprot
    (fname, mtype, rseqid) = iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(iprot)
      iprot.readMessageEnd()
      raise x
    result = putToRebuildIndex_result()
    result.read(iprot)
    iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.se is not None:
      raise result.se
    raise TApplicationException(TApplicationException.MISSING_RESULT, "putToRebuildIndex failed: unknown result"); 
开发者ID:XiaoMi,项目名称:galaxy-sdk-python,代码行数:18,代码来源:TableService.py

示例10: recv_partialAllowedBatch

# 需要导入模块: from thrift.Thrift import TApplicationException [as 别名]
# 或者: from thrift.Thrift.TApplicationException import MISSING_RESULT [as 别名]
def recv_partialAllowedBatch(self):
    iprot = self._iprot
    (fname, mtype, rseqid) = iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(iprot)
      iprot.readMessageEnd()
      raise x
    result = partialAllowedBatch_result()
    result.read(iprot)
    iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.se is not None:
      raise result.se
    raise TApplicationException(TApplicationException.MISSING_RESULT, "partialAllowedBatch failed: unknown result"); 
开发者ID:XiaoMi,项目名称:galaxy-sdk-python,代码行数:18,代码来源:TableService.py

示例11: recv_sendMessage

# 需要导入模块: from thrift.Thrift import TApplicationException [as 别名]
# 或者: from thrift.Thrift.TApplicationException import MISSING_RESULT [as 别名]
def recv_sendMessage(self):
    iprot = self._iprot
    (fname, mtype, rseqid) = iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(iprot)
      iprot.readMessageEnd()
      raise x
    result = sendMessage_result()
    result.read(iprot)
    iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.e is not None:
      raise result.e
    raise TApplicationException(TApplicationException.MISSING_RESULT, "sendMessage failed: unknown result"); 
开发者ID:XiaoMi,项目名称:galaxy-sdk-python,代码行数:18,代码来源:MessageService.py

示例12: recv_sendMessageBatch

# 需要导入模块: from thrift.Thrift import TApplicationException [as 别名]
# 或者: from thrift.Thrift.TApplicationException import MISSING_RESULT [as 别名]
def recv_sendMessageBatch(self):
    iprot = self._iprot
    (fname, mtype, rseqid) = iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(iprot)
      iprot.readMessageEnd()
      raise x
    result = sendMessageBatch_result()
    result.read(iprot)
    iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.e is not None:
      raise result.e
    raise TApplicationException(TApplicationException.MISSING_RESULT, "sendMessageBatch failed: unknown result"); 
开发者ID:XiaoMi,项目名称:galaxy-sdk-python,代码行数:18,代码来源:MessageService.py

示例13: recv_receiveMessage

# 需要导入模块: from thrift.Thrift import TApplicationException [as 别名]
# 或者: from thrift.Thrift.TApplicationException import MISSING_RESULT [as 别名]
def recv_receiveMessage(self):
    iprot = self._iprot
    (fname, mtype, rseqid) = iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(iprot)
      iprot.readMessageEnd()
      raise x
    result = receiveMessage_result()
    result.read(iprot)
    iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.e is not None:
      raise result.e
    raise TApplicationException(TApplicationException.MISSING_RESULT, "receiveMessage failed: unknown result"); 
开发者ID:XiaoMi,项目名称:galaxy-sdk-python,代码行数:18,代码来源:MessageService.py

示例14: recv_changeMessageVisibilitySecondsBatch

# 需要导入模块: from thrift.Thrift import TApplicationException [as 别名]
# 或者: from thrift.Thrift.TApplicationException import MISSING_RESULT [as 别名]
def recv_changeMessageVisibilitySecondsBatch(self):
    iprot = self._iprot
    (fname, mtype, rseqid) = iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(iprot)
      iprot.readMessageEnd()
      raise x
    result = changeMessageVisibilitySecondsBatch_result()
    result.read(iprot)
    iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.e is not None:
      raise result.e
    raise TApplicationException(TApplicationException.MISSING_RESULT, "changeMessageVisibilitySecondsBatch failed: unknown result"); 
开发者ID:XiaoMi,项目名称:galaxy-sdk-python,代码行数:18,代码来源:MessageService.py

示例15: recv_deleteMessageBatch

# 需要导入模块: from thrift.Thrift import TApplicationException [as 别名]
# 或者: from thrift.Thrift.TApplicationException import MISSING_RESULT [as 别名]
def recv_deleteMessageBatch(self):
    iprot = self._iprot
    (fname, mtype, rseqid) = iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(iprot)
      iprot.readMessageEnd()
      raise x
    result = deleteMessageBatch_result()
    result.read(iprot)
    iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.e is not None:
      raise result.e
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteMessageBatch failed: unknown result"); 
开发者ID:XiaoMi,项目名称:galaxy-sdk-python,代码行数:18,代码来源:MessageService.py


注:本文中的thrift.Thrift.TApplicationException.MISSING_RESULT属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。