code: def unpack_callbacks(cbs):
      """Take an iterable of callbacks, return a list of each callback."""
      if cbs:
          return [[i for i in f if i] for f in zip(*cbs)]
      else:
          return [(), (), (), (), ()]
  
file_path: dask/dask/callbacks.py
imports: from __future__ import annotations
  from collections.abc import Callable
  from contextlib import contextmanager
  from typing import ClassVar
label_desc: Use image node_id 1 for calling a global function with example usage: unpack_callbacks(cbs) and returns: unknown, list