You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The pyzee internals are using unknown imports and some non proto Stub generated type classes.
The package zeebe-grpc does not provide python class files from protobuf. And uses older versions of grpcio and protobuf.
Describe the solution you'd like
Generate the protobuf stubs and interface (.pyi) for Python ourselfs and remove the dependency from zeebe-grpc.
This also enhances type hints because of the usage of the protobuf generated interface for pyzeebe.
There is also the option to create mypy types from protobuf.
Is your feature request related to a problem? Please describe.
The pyzee internals are using unknown imports and some non proto Stub generated type classes.
The package
zeebe-grpc
does not provide python class files from protobuf. And uses older versions of grpcio and protobuf.Describe the solution you'd like
Generate the protobuf stubs and interface (.pyi) for Python ourselfs and remove the dependency from zeebe-grpc.
This also enhances type hints because of the usage of the protobuf generated interface for pyzeebe.
There is also the option to create mypy types from protobuf.
python -m grpc_tools.protoc --proto_path=. --python_out=. --grpc_python_out=. --pyi_out=. ./pyzeebe/proto/gateway.proto
For this we need to add the following requirements:
Additional context
https://grpc.io/docs/languages/python/basics/#generating-client-and-server-code
https://mypy.readthedocs.io/en/stable/stubs.html
The text was updated successfully, but these errors were encountered: