ovh / celery-director

Simple and rapid framework to build workflows with Celery
https://ovh.github.io/celery-director/
BSD 3-Clause "New" or "Revised" License
534 stars 58 forks source link

question: possible to access app from a task? #196

Closed wqhhust closed 9 months ago

wqhhust commented 1 year ago

In the test code, I see lots of place using app. Is it possible to access app when I define a task using @task(name="some_name")?

image image
ncrocfer commented 1 year ago

Can you please explain us the need to access the app instance in your tasks code? Some usecases would be appreciated to understand how we can help you.

Your first screenshot displays the tests code, it's normal to access the app instance and test its behavior.

ncrocfer commented 9 months ago

Closed due to inactivity of the original author.