# Python
from datetime import datetime

# Celery
from celery import shared_task


@shared_task
def display_time():
    print("The time is %s :" % str(datetime.now()))
    return True

# Python
from datetime import datetime

# Celery
from celery import shared_task


@shared_task
def display_time():
    print("The time is %s :" % str(datetime.now()))
    return True

# Python # Celery