code: def add_transform(self, transform_id):
      if transform_id not in WRITE_TRANSFORMS_BY_ID:
          raise ValueError("unknown transform")
      self._write_transforms.append(transform_id)
  
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 8 for calling the THeaderTransport obj's underlying member method code with example usage: obj.add_transform(transform_id) without return types