code: def raw(rawmode, data):
      palette = ImagePalette()
      palette.rawmode = rawmode
      palette.palette = data
      palette.dirty = 1
      return palette
  
file_path: catboost/contrib/python/Pillow/py2/PIL/ImagePalette.py
imports: import array
  from .None import GimpGradientFile, GimpPaletteFile, ImageColor, PaletteFile
label_desc: Use image node_id 1 for calling a global function with example usage: raw(rawmode, data) and returns: palette