code: def _get_sentinel_event():
      """Generate a sentinel event for terminating worker."""
      return event_pb2.Event()
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import logging
  import os.path
  import socket
  import threading
  import time
  import six
  from .proto import event_pb2
  from .record_writer import RecordWriter
label_desc: Use image node_id 1 for calling a global function with example usage: _get_sentinel_event() and returns: event_pb2