code: def getitem(x, key):
      """Like :func:`operator.getitem`, but allows setting key using partial
      ``partial(chunk.getitem, key=key)
      """
      return x[key]
  
imports: from __future__ import annotations
label_desc: Use image node_id 2 for calling a global function with example usage: getitem(x, key) and returns: x