class_docstr: Class for writing to native BED files.
  
  Most users will want BedWriter, which will write to either native BED
  files or TFRecord files, based on the output filename's extension.
class_docstr_tok: ["Class","for","writing","to","native","BED","files",".","Most","users","will","want","BedWriter",",","which","will","write","to","either","native","BED","files","or","TFRecord","files",",","based","on","the","output","filename","'s","extension","."]
code: def __exit__(self, exit_type, exit_value, exit_traceback):
      self._writer.__exit__(exit_type, exit_value, exit_traceback)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from third_party.nucleus.io import genomics_reader
  from third_party.nucleus.io import genomics_writer
  from third_party.nucleus.io.python import bed_reader
  from third_party.nucleus.io.python import bed_writer
  from third_party.nucleus.protos import bed_pb2
label_desc: Use image node_id 3 for calling the NativeBedWriter obj's underlying member method code with example usage: obj.__exit__(exit_type, exit_value, exit_traceback) without return types