code: def _round_robin_write(writers, generator):
    
    for i, example in enumerate(utils.tqdm(
        generator, unit=" examples", leave=False)):
      writers[i % len(writers)].write(example)
docs: Write records from generator round-robin across writers.