from __future__ import absolute_import
from hwf.celeryhwf.celery import app
from celery.utils.log import get_task_logger
import datetime
logger = get_task_logger(__name__)


@app.task
def greet_friend(name):
    """
    Celery task for greeting by name. Just adds the greeting to the logs for now
    and returns the execution timestamp.
    """
    logger.info('Hello %s' % name)
    return datetime.datetime.now()

f2b9cfc0cceb9544d30f761c030163d22ac13ad8
<mask token>

<mask token>


@app.task
def greet_friend(name):
    """
    Celery task for greeting by name. Just adds the greeting to the logs for now
    and returns the execution timestamp.
    """
    logger.info('Hello %s' % name)
    return datetime.datetime.now()

<mask token>
logger = get_task_logger(__name__)


@app.task
def greet_friend(name):
    """
    Celery task for greeting by name. Just adds the greeting to the logs for now
    and returns the execution timestamp.
    """
    logger.info('Hello %s' % name)
    return datetime.datetime.now()

from __future__ import absolute_import
from hwf.celeryhwf.celery import app
from celery.utils.log import get_task_logger
import datetime
logger = get_task_logger(__name__)


@app.task
def greet_friend(name):
    """
    Celery task for greeting by name. Just adds the greeting to the logs for now
    and returns the execution timestamp.
    """
    logger.info('Hello %s' % name)
    return datetime.datetime.now()
