code: def writeframes(self, data):
      self.writeframesraw(data)
      if (
          self._nframeswritten != self._nframes
          or self._datalength != self._datawritten
      ):
          self._patchheader()
  
imports: from collections import namedtuple
  import warnings
label_desc: Use image node_id 21 for calling the Au_write obj's underlying member method code with example usage: obj.writeframes(data) without return types