Zeebe Python GRPC网关
zeebe-grpc的Python项目详细描述
zeebe python grpc网关文件
此包包含构建Zeebe客户端或Zeebe工作进程所需的两个GRPC网关文件(https://zeebe.io/) 和Python一起。
这两个文件都是按照这篇(现已过时)博客文章的说明生成的: https://zeebe.io/blog/2018/11/grpc-generating-a-zeebe-python-client/
如何安装和使用此软件包?
pip install zeebe-grpc
importgrpcfromzeebe_grpcimportgateway_pb2,gateway_pb2_grpcwithgrpc.insecure_channel("zeebe:26500")aschannel:stub=gateway_pb2_grpc.GatewayStub(channel)topology=stub.Topology(gateway_pb2.TopologyRequest())print(topology)