Esempio n. 1
0
def get_hot_start():
    """
    @return: Recipe for hot start
    @rtype: Recipe
    """
    new = Recipe()
    new.buffer = tpid_hot_start.buffer.copy()
    return new
Esempio n. 2
0
def get_cool_start():
    """
    @return: long recipe's buffer list
    @rtype: list[str]
    """
    new = Recipe()
    new.buffer = tpid_cool_start.buffer.copy()
    return new