コード例 #1
0
ファイル: local.py プロジェクト: Liu0330/zufang
def getappattr(path):
    """Get attribute from current_app recursively.

    Example: ``getappattr('amqp.get_task_consumer')``.

    """
    from celery import current_app
    return current_app._rgetattr(path)
コード例 #2
0
ファイル: local.py プロジェクト: tayfun/celery
def getappattr(path):
    """Get attribute from current_app recursively.

    Example: ``getappattr('amqp.get_task_consumer')``.

    """
    from celery import current_app
    return current_app._rgetattr(path)
コード例 #3
0
ファイル: five.py プロジェクト: EdwardBetts/celery
def getappattr(path):
    """Gets attribute from the current_app recursively,
    e.g. getappattr('amqp.get_task_consumer')``."""
    from celery import current_app
    return current_app._rgetattr(path)
コード例 #4
0
ファイル: __compat__.py プロジェクト: fxiang21/company_bt
def getappattr(path):
    """Gets attribute from the current_app recursively,
    e.g. getappattr('amqp.get_task_consumer')``."""
    from celery import current_app
    return current_app._rgetattr(path)