Python zeebe-grpc


#1

Hi,

I just uploaded a zeebe-grpc package on PyPi (https://pypi.org/project/zeebe-grpc/) so it can be directly included in any Python projects.

We are using this package to develop several zeebe Python Workers and Clients.

Please note that the files are “generated” following the instructions on this blog post: https://zeebe.io/blog/2018/11/grpc-generating-a-zeebe-python-client/

Any comments are welcome. Please report Issues here: https://gitlab.com/stephane.ludwig/zeebe_python_grpc/issues


Python Client ETA?
#2

Thanks very much for this, @gizmo84!

Quick check: were there any issues with using the blog post as a reference because important info was out-of-date? It’s almost 6 months old at this point, and we haven’t updated it since it was originally published. I’d like to get a guide similar to the blog post into the docs at some point, but not sure when we’ll get to it, and it’d be nice for the blog post to fill that gap for as long as possible :slight_smile:


#3

@wints I only noticed one issue:

I think the Signature of ActivateJobRequest has changed since 0.17.0: the “amount” parameter has changed to “maxJobsToActivate”. So the the Python Code had to be changed:

maxJobsToActivate = 32 vs. amount = 32


#4

Juste updated the zeebe-grpc package. Now build with grpcio-1.20.0 and updated dependency on it.


#5

Ok, last release was brocken. Bump version to 0.17.post4 :slight_smile: