def get_scheduler():
    global _tls
    try:
        return _tls.scheduler
    except __HOLE__:
        scheduler = _tls.scheduler = Scheduler()
        return scheduler
dataset/ETHPy150Open benoitc/flower/flower/core/sched.py/get_scheduler