Skip to main content

A python puzzle for sending ColaboFlow.Go (CF.Go) actions over gRPC

Project description


# 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


# 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
colabo.flow.go-0.2.1.tar.gz (6.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page