v3.0.0rc3
Pre-release
Pre-release
Changes
ZeebeWorker
andZeebeClient
now accept agrpc.aio.Channel
instance in their constructor instead of connection parameters (hostname, port etc.)- Add three easy ways to create a grpc channel:
create_insecure_channel
create_secure_channel
create_camunda_cloud_channel
New API example:
from pyzeebe import ZeebeWorker, ZeebeClient, create_insecure_channel
channel = create_insecure_channel("hostname", 26500)
worker = ZeebeWorker(channel)
client = ZeebeClient(channel)