Skip to content

Conversation

@aequitas
Copy link
Contributor

@aequitas aequitas commented Sep 6, 2025

This PR adds group callbacks to the group __str__ function.

>>> import dramatiq
...
... @dramatiq.actor
... def task():
...   pass
...
... group = dramatiq.group([task.message()])
... group.add_completion_callback(task.message())
... print(str(group))
...
group([task()]) -> (task())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant