clusterspecgenerator_client.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:hops-tensorflow 作者: hopshadoop 项目源码 文件源码
def get_cluster_spec(self, application_id):
    request = csg.GetClusterSpecRequest()
    request.applicationId = application_id
    try:
      reply = self.stub.GetClusterSpec(request)
    except grpc.RpcError:
      return None
    return reply.clusterSpec
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号