thriftpy2客户端报thriftpy2.thrift.TApplicationException: Missing result

报错:

 # no throws & not void api
        if hasattr(result, "success"):
>           raise TApplicationException(TApplicationException.MISSING_RESULT)
E           thriftpy2.thrift.TApplicationException: Missing result

原因:
见官方github上的<#31 (comment)>:
原因一般是客户端和服务端的IDL文件不一致

你可能感兴趣的:(thriftpy2客户端报thriftpy2.thrift.TApplicationException: Missing result)