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.2.tar.gz
(9.4 kB
view details)
File details
Details for the file colabo.flow.go-0.2.2.tar.gz.
File metadata
- Download URL: colabo.flow.go-0.2.2.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cbd49b4c6ba9d46559d2878ec36283a2c18bef7c173f39e4c2172b63779b3cc
|
|
| MD5 |
95360486563aab96dfb223aae86fab4a
|
|
| BLAKE2b-256 |
1073e1aa63786b9a4d1ecd8a12c44c1b61f88625db231413f946c9e2e79a7e46
|