當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。