import time
from celery_task.celery import cel


@cel.task
def test_celery2(res):
    time.sleep(5)
    return "test_celery2任务结果: %s"%res
98d4bee18ec9b40df76ea6d9da731cb0dfe1536c
<mask token>

<mask token>


@cel.task
def test_celery2(res):
    time.sleep(5)
    return 'test_celery2任务结果: %s' % res

import time
from celery_task.celery import cel


@cel.task
def test_celery2(res):
    time.sleep(5)
    return 'test_celery2任务结果: %s' % res

import time
from celery_task.celery import cel


@cel.task
def test_celery2(res):
    time.sleep(5)
    return "test_celery2任务结果: %s"%res