Python SDK 1.34.0
Overview
Added
- Added
slot_costto thehatchet.taskandworkflow.taskdecorators, so a task that needs more memory or CPU can consume more than one worker slot and a worker runs fewer of them at once. On older engines it has no effect. See Task Slot Cost.
Installation
Install the SDK using pip:
pip install hatchet-sdkOr using poetry:
poetry add hatchet-sdkDocumentation
For detailed documentation, examples, and best practices, visit:
What's Changed?
- feat: task slot cost (#4393) by @BloggerBust
- chore: Bump the python-deps group in /sdks/python with 4 updates (#4407) by @app/dependabot
- chore: fix pip Dependabot alerts (#4416) by @mnafees