Skip to main content

A python puzzle for sending ColaboFlow (CF) audits over gRPC

Project description

Install

# the latest
pip install 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.

Source Distribution

colabo.flow.audit-0.1.3.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file colabo.flow.audit-0.1.3.tar.gz.

File metadata

  • Download URL: colabo.flow.audit-0.1.3.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for colabo.flow.audit-0.1.3.tar.gz
Algorithm Hash digest
SHA256 97d101632a517d6a0cc3baf891d2cef4f7f4cee554cb365f162db9b4eb59aa50
MD5 a0d45661156d60c1d93c594bf0dba193
BLAKE2b-256 6a4f04409c21fd976c3d5c1437932e6f650d9d5b2dd69f392053a0aa3b70dcba

See more details on using hashes here.

Provenance

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