Example #1
0
 def task_by_cons():
     app = current_app()
     return app.tasks[
         name or app.gen_task_name(fun.__name__, fun.__module__)]
Example #2
0
def bugreport(app=None):
    """Return information useful in bug reports."""
    return (app or current_app()).bugreport()
Example #3
0
def bugreport(app=None):
    return (app or current_app()).bugreport()
Example #4
0
 def task_by_cons():
     app = current_app()
     return app.tasks[
         name or gen_task_name(app, fun.__name__, fun.__module__)
     ]
Example #5
0
def bugreport(app=None):
    return (app or current_app()).bugreport()
Example #6
0
def bugreport():
    return current_app().bugreport()
Example #7
0
def bugreport():
    return current_app().bugreport()