I found out that naming celery tasks with more than one dot breaks the function route_task in the celery_config.py file:
File "/Users/hera/graphai/graphai/core/celery_utils/celery_config.py", line 8, in route_task
queue, _ = name.split(".")
ValueError: too many values to unpack (expected 2)
I was trying to use task names like text.wikify.extract_keywords. We should either fix this function to accept this kind of names or define a different task naming convention which makes sense.
What do you think @RamtinYazdanian?
I found out that naming celery tasks with more than one dot breaks the function
route_taskin thecelery_config.pyfile:I was trying to use task names like
text.wikify.extract_keywords. We should either fix this function to accept this kind of names or define a different task naming convention which makes sense.What do you think @RamtinYazdanian?