通过grpc发送colaboflow.go(cf.go)操作的python拼图

colabo.flow.go的Python项目详细描述


安装

# the latest
pip install colabo.flow.go

# upgrade AFTER installing
pip install --upgrade colabo.flow.go

# a speciffic one
pip install colabo.flow.go==0.0.4

使用

# importfromcolabo.flow.goimportgo_pb2fromcolabo.flow.goimportColaboFlowGo# create an ColaboFlowGo objectcolaboFlowGo=ColaboFlowGo()createanexecuterequestobjectrequest=go_pb2.ActionExecuteRequest(flowId='search-sounds',name='mediator',flowInstanceId='fa23',dataIn='hello from client',params='quick')# send the go object to the go serviceresponse=colaboFlowGo.executeActionSync(request)# print the respons from the go serviceprint("response = %s"%(response))

更多详细信息

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
c#Java Tcp服务器和。Net Tcp客户端的发送和接收问题   安卓应用程序上的java标记地理位置,其位置位于我周围5Km半径范围内。   向java添加对话框并检索html文件   当eclipse甚至无法打开时,java会在eclipse中更改不兼容的JVM   java中同一jframe中的jlabel和paintComponent   基于另一数组排序的java排序   java AADSTS7000012:该补助金是为另一个租户获得的   java在JSF中使用foreach循环   java如何通过maven为运行junit测试创建运行配置?   java Selenium webDriver不稳定错误堆栈跟踪   java有没有办法创建以键为大写的JSON对象?