Skip to content

Conversation

@danielmichalichyn
Copy link
Contributor

Hello @actumn, how are you?

Description

Regarding the issue #55, I've created this PR to suggest to you a simple way to achieve the result mentioned in the issue. A "self" variable within the task, so we can have information about task ID, and some other configurations made in the Celery Client. With this we can, from the worker, implement some others functions, like log the task ID, retry a task, and so on...

I'm open to suggestion and we can discuss if this is the better way.

@actumn
Copy link
Owner

actumn commented May 26, 2021

Hi, @danielmichalichyn!
Greatly appreciated for submitting this awesome PR!

A little request, it would be better if there are some use cases or descriptions to show how to use it with self.
Can you share what you've imagined?

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.

2 participants