class_docstr: FileWriter for test.
  
  TensorFlow FileWriter uses TensorFlow's Protobuf Python binding
  which is largely discouraged in TensorBoard. We do not want a
  TB.Writer but require one for testing in integrational style
  (writing out event files and use the real event readers).
code: def __init__(self, *args, **kwargs):
      # Briefly enter graph mode context so this testing FileWriter can be
      # created from an eager mode context without triggering a usage error.
      with tf.compat.v1.Graph().as_default():
          super().__init__(*args, **kwargs)
  
imports: import threading
  import tensorflow
  from tensorboard.compat.proto import event_pb2
  from tensorboard.compat.proto import graph_pb2
  from tensorboard.compat.proto import meta_graph_pb2
  from tensorboard.compat.proto import summary_pb2
  from tensorboard.util import tb_logging
label_desc: Use image node_id 1 to create a new FileWriter object from inherited base classes: tf.compat.v1.summary with example: obj = FileWriter()