Mini Shell

Direktori : /opt/imh-python/lib/python3.9/site-packages/celery/contrib/testing/
Upload File :
Current File : //opt/imh-python/lib/python3.9/site-packages/celery/contrib/testing/tasks.py

"""Helper tasks for integration tests."""
from celery import shared_task


@shared_task(name='celery.ping')
def ping():
    # type: () -> str
    """Simple task that just returns 'pong'."""
    return 'pong'

Zerion Mini Shell 1.0