code: def write(self, data):
      self.chunk(self.fp, b"IDAT", data)
  
imports: import logging
  import re
  import struct
  import zlib
  from .None import Image, ImageFile, ImagePalette
  from ._binary import i8, i16be, i32be, o16be, o32be
  from ._util import py3
label_desc: Use image node_id 2 for calling the _idat obj's underlying member method code with example usage: obj.write(data) without return types