def cycle_colors(chunk, palette=DEFAULT_PALETTE):
    colors = []

    g = itertools.cycle(palette)
    for i in range(len(chunk)):
        colors.append(next(g))

    return colors
Test result row processing when selecting from a plain bind
dataset/ETHPy150Open bokeh/bokeh/bokeh/charts/utils.py/cycle_colors--crossover with--dataset/ETHPy150Open zzzeek/sqlalchemy/test/sql/test_query.py/QueryTest.test_select_from_bindparam