Skip to main content

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))

Project details


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.audit-0.2.1.tar.gz (5.2 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