code: def get_chunks(iterable_obj, chunk_size=1):
      # type: (List[Loader], int) -> Iterator
      chunk_size = max(1, chunk_size)
      return (
          iterable_obj[i : i + chunk_size]
          for i in range(0, len(iterable_obj), chunk_size)
      )
  
file_path: wandb/wandb/vendor/promise-2.3.0/wandb_promise/dataloader.py
imports: from collections import namedtuple
  from functools import partial
  from threading import local
  from .promise import Promise, async_instance, get_default_scheduler
label_desc: Use image node_id 1 for calling a global function with example usage: get_chunks(iterable_obj, chunk_size) and returns: unknown