Pyzeebe

Latest version: v4.5.0

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 8

2.2.1

Changes

- Using [`zeebe-grpc`](https://gitlab.com/stephane.ludwig/zeebe_python_grpc) package
- Updated dependencies:
- `grpcio` from 1.31.0 to 1.32.0
- Updated development dependencies:
- `coverage` from 5.2.1 to 5.3
- `pytest` from 6.0.1 to 6.1.1
- `mypy` from 0.782 to 0.790
- `importlib-metadata` from 1.7.0 to 2.0.0

2.2.0

Using decorators instead of classes to create tasks
Changes

- Added ability to create task using decorator: `worker.task()`
- Added class called `ZeebeTaskRouter` which should help organize projects
- Renamed `TaskContext` to `Job`
- Merged `TaskStatusController` functionality into the new `Job` class
- Removed `Task` from standard imports because of decorator

API Changes

External updates:
- Renamed `TaskContext` to `Job`
- Merged `TaskStatusController` functionality into the new `Job` class
- Renamed `TaskStatus` to `JobStatus`
- Moved `stop_event` from `work` internally, so users don't have to import `threading.Event`
- Added `stop` function to `ZeebeWorker` which now uses the internal `threading.Event`
- Renamed `add_task` to `_add_task`
- Added class `ZeebeTaskRouter` which inherits from `ZeebeTaskHandler`. This class allows splitting tasks into multiple files (like fastapi's `APIRouter`)
- Added `include_router` to `ZeebeWorker` which allows a `ZeebeWorker` instance to absorb a `ZeebeTaskRouter`'s tasks
- Added `ExceptionHandler` for ease of use
- Added optional `message_id` parameter to `publish_message` in `ZeebeClient`

2.1.0

Added:
* Full task api to `worker.task` decorator:
* `variables_to_fetch` param - which variables to fetch from the workflow instance scope
* `timeout` param - how long until zeebe gives up on job
* `max_jobs_to_activate` param - max jobs the worker can perform simultaneously (per task)
* Automatic `variables_to_fetch`. (from `function.__code__.co_varnames`)
* Base exception class named: `PyZeebeException` from which all custom exceptions inherit

Fixed:
* `JobStatus` not exported - 43
* Exceptions not exported - 44

2.0.1

Fixed:
* `TaskDecorator` and `ZeebeTaskRouter` not being in exports

2.0.0

1.2.3

Fixed:
* Job completed even when the task failed - 35

Page 6 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.