示例#1
0
def getEmptyCol():
    col = getEmptyColOrig()
    col.upgrade_to_v2_scheduler()
    if is_2021():
        col.set_v3_scheduler(True)
    return col
示例#2
0
def getEmptyCol():
    col = getEmptyColOrig()
    col.upgrade_to_v2_scheduler()
    if is_2021():
        col.set_2021_test_scheduler_enabled(True)
    return col
示例#3
0
def getEmptyCol():
    col = getEmptyColOrig()
    col.changeSchedulerVer(2)
    return col
示例#4
0
def getEmptyCol() -> Collection:
    col = getEmptyColOrig()
    # only safe in test environment
    col.set_config("schedVer", 1)
    col._load_scheduler()
    return col
示例#5
0
def getEmptyCol():
    col = getEmptyColOrig()
    col.upgrade_to_v2_scheduler()
    return col
示例#6
0
def getEmptyCol():
    col = getEmptyColOrig()
    # only safe in test environment
    col.set_config("schedVer", 1)
    return col