A python puzzle for sending ColaboFlow (CF) audits over gRPC
Project description
Install
# the latest
pip install colabo.flow.audit
# upgrade AFTER installing
pip install --upgrade colabo.flow.audit
# a speciffic one
pip install colabo.flow.audit==0.0.4
Use
# import
from colabo.flow.audit import audit_pb2
from colabo.flow.audit import ColaboFlowAudit
# create an ColaboFlowAudit object
colaboFlowAudit = ColaboFlowAudit()
# create an audit object
cfAuditRequest1 = audit_pb2.SubmitAuditRequest(
bpmn_type='activity',
bpmn_subtype='task',
bpmn_subsubtype='sub-task',
flowId='searchForSounds',
# ...
)
# send the audit object to the audit service
result1 = colaboFlowAudit.audit_submit(cfAuditRequest1)
# print the respons from the audit service
print("result1 = %s" % (result1))
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
File details
Details for the file colabo.flow.audit-0.2.2.tar.gz
.
File metadata
- Download URL: colabo.flow.audit-0.2.2.tar.gz
- Upload date:
- Size: 5.6 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 | 37f8197b81e138d4f255d9a907158010fd2e51b8b8e9a83d6c626924d37f7f4e |
|
MD5 | f06c1f61b8e7c5538f9a0957ccf4b28e |
|
BLAKE2b-256 | f0b77b507ad7cc7af686d4cb26be2dac31689ef756c9f95846f045dc028ca151 |