code: def _restore_buffers(obj, buffers):
      """restore buffers extracted by"""
      if isinstance(obj, CannedObject) and obj.buffers:
          for i, buf in enumerate(obj.buffers):
              if buf is None:
                  obj.buffers[i] = buffers.pop(0)
  
file_path: catboost/contrib/python/ipykernel/py2/ipykernel/serialize.py
imports: import warnings
  from itertools import chain
  from ipython_genutils.py3compat import PY3, buffer_to_bytes_py2
  from ipykernel.pickleutil import can, uncan, can_sequence, uncan_sequence, CannedObject, istype, sequence_types, PICKLE_PROTOCOL
  from jupyter_client.session import MAX_ITEMS, MAX_BYTES
label_desc: Use image node_id 2 for calling a global function with example usage: _restore_buffers(obj, buffers) without return types