code: def write_frames(self, frames_out):
          
          self.check_for_errors()
          self._connection.write_frames(self.channel_id, frames_out)
docs: Write multiple pamqp frames from the current channel.
  
          :param list frames_out: A list of pamqp frames.
  
          :return: