A python puzzle for sending ColaboFlow.Go (CF.Go) actions over gRPC
Project description
Install
# 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
Use
# import
from colabo.flow.go import go_pb2
from colabo.flow.go import ColaboFlowGo
# create an ColaboFlowGo object
colaboFlowGo = ColaboFlowGo()
create an execute request object
request = go_pb2.ActionExecuteRequest(
flowId='search-sounds', name='mediator', flowInstanceId='fa23', dataIn='hello from client', params='quick')
# send the go object to the go service
response = colaboFlowGo.executeActionSync(request)
# print the respons from the go service
print("response = %s" % (response))
More Details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
colabo.flow.go-0.2.1.tar.gz
(6.7 kB
view hashes)