code: def set_max_frame_size(self, size):
      if not 0 < size < HARD_MAX_FRAME_SIZE:
          raise ValueError(
              "maximum frame size should be < %d and > 0"
              % HARD_MAX_FRAME_SIZE
          )
      self._max_frame_size = size
  
imports: import struct
  import zlib
  from thrift.compat import BufferIO, byte_index
  from thrift.protocol.TBinaryProtocol import TBinaryProtocol
  from thrift.protocol.TCompactProtocol import TCompactProtocol, readVarint, writeVarint
  from thrift.Thrift import TApplicationException
  from thrift.transport.TTransport import CReadableTransport, TMemoryBuffer, TTransportBase, TTransportException
label_desc: Use image node_id 9 for calling the THeaderTransport obj's underlying member method code with example usage: obj.set_max_frame_size(size) without return types