From d19c324f9306422b90d6082633f29f06558a5fcc Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Thu, 13 Aug 2015 18:38:50 -0300 Subject: [PATCH] Set task name manually --- colab/plugins/utils/data.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/colab/plugins/utils/data.py b/colab/plugins/utils/data.py index 97430d4..6692ed5 100644 --- a/colab/plugins/utils/data.py +++ b/colab/plugins/utils/data.py @@ -29,7 +29,8 @@ def register_tasks(): if callable(getattr(item, 'fetch_data', None)): instance = item() - task = app.task(bind=True)(instance.fetch_data) + task_name = '{}.{}'.format(module.__name__, item_name) + task = app.task(name=task_name, bind=True)(instance.fetch_data) TASKS.add(task) return TASKS -- libgit2 0.21.2