Skip to main content

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


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.2.tar.gz (9.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page