def flush(self):
    'Flush all buffers and write the meta file.'
    self.fp.flush()
    self.serializer.dump(self.meta_dict, self.meta_file_path)
Flush all buffers and write the meta file.
def flush(self):
    
    self.fp.flush()
    self.serializer.dump(self.meta_dict, self.meta_file_path)