Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Celery group tasks #22

Closed
Egnod opened this issue Jul 21, 2020 · 2 comments
Closed

Celery group tasks #22

Egnod opened this issue Jul 21, 2020 · 2 comments

Comments

@Egnod
Copy link

Egnod commented Jul 21, 2020

  • Celery Executor version: 4.4.6
  • Python version: 3.8
  • Operating System: Ubuntu 19.10

Description

Hi, I would like to ask how celery tasks group works and does it work? I tried to apply groups, but unfortunately, nothing worked. Sample code and errors are attached.

What I Did

tasks = await group(tasks).delay()
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/celery_pool_asyncio/tracer.py", line 197, in trace_task
R = retval = coro_task.result()
File "/back/core/tasks/tasks.py", line 40, in tasks
tasks = await group(tasks).delay()
TypeError: object GroupResult can't be used in 'await' expression
@kai3341
Copy link
Owner

kai3341 commented Jul 21, 2020

Nice catch! I'll fix it soon

@kai3341
Copy link
Owner

kai3341 commented Sep 15, 2020

#27

@kai3341 kai3341 closed this as completed Sep 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants