code: def write_index(self):
      self.write_meta()
      for i in range(self.partition_num):
          self.write_index_data(self.index_data[i], i)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import json
  import sys
  import struct
  from euler.tools import json2meta
  from euler.tools.util import *
  import os
label_desc: Use image node_id 12 for calling the Converter obj's underlying member method code with example usage: obj.write_index() without return types