示例#1
0
 def task_by_cons():
     app = current_app()
     return app.tasks[
         name or app.gen_task_name(fun.__name__, fun.__module__)]
示例#2
0
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
def bugreport(app=None):
    return (app or current_app()).bugreport()
示例#6
0
def bugreport():
    return current_app().bugreport()
示例#7
0
def bugreport():
    return current_app().bugreport()