1

I`m trying to call celery tasks from another celery task, here is a example code:

from celery import group, allow_join_result


@shared_task
def task1():
   some_code1()

@shared_task
def task2():
   some_code2()

@shared_task
def task3():
    celery_task_list = [task1.s(), task2.s()]
    task_group = group(celery_task_list)
    result_group = task_group.apply_async()
    with allow_join_result():
        results = result_group.join()
    return

Running the code throws a NotImplementedError: No result backend is configured. ignore_result=True doesnt help

I want to call several others tasks from 1 celery task, then wait for their execution and after perform some actions. Is this achivable without configirung the backend?(similar issue, there even configured result backend doesnt help)

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.