예제 #1
0
파일: __init__.py 프로젝트: yinlinzh/celery
 def task_by_cons():
     app = current_app()
     return app.tasks[
         name or app.gen_task_name(fun.__name__, fun.__module__)]
예제 #2
0
파일: __init__.py 프로젝트: yinlinzh/celery
def bugreport(app=None):
    """Return information useful in bug reports."""
    return (app or current_app()).bugreport()
예제 #3
0
def bugreport(app=None):
    return (app or current_app()).bugreport()
예제 #4
0
 def task_by_cons():
     app = current_app()
     return app.tasks[
         name or gen_task_name(app, fun.__name__, fun.__module__)
     ]
예제 #5
0
파일: __init__.py 프로젝트: anukat2015/AIR
def bugreport(app=None):
    return (app or current_app()).bugreport()
예제 #6
0
def bugreport():
    return current_app().bugreport()
예제 #7
0
파일: __init__.py 프로젝트: Gifflen/celery
def bugreport():
    return current_app().bugreport()