def get_next_color() -> str:
    nonlocal color_idx
    color = STREAM_ASSIGNMENT_COLORS[color_idx]
    color_idx = ((color_idx + 1) % len(STREAM_ASSIGNMENT_COLORS))
    return color
def get_next_color() -> str:
    nonlocal color_idx
    color = STREAM_ASSIGNMENT_COLORS[color_idx]
    color_idx = ((color_idx + 1) % len(STREAM_ASSIGNMENT_COLORS))
    return color