class_docstr: A concrete implementation of BaseDebugWrapperSession for test.
  
  This class intentionally puts a bad action value in OnSessionInitResponse
  and/or in OnRunStartAction to test the handling of such invalid cases.
class_docstr_tok: ["A","concrete","implementation","of","BaseDebugWrapperSession","for","test",".","This","class","intentionally","puts","a","bad","action","value","in","OnSessionInitResponse","and\/or","in","OnRunStartAction","to","test","the","handling","of","such","invalid","cases","."]
docstr: Constructor.
  
  Args:
    sess: The TensorFlow Session object to be wrapped.
    bad_init_action: (str) bad action value to be returned during the
      on-session-init callback.
    bad_run_start_action: (str) bad action value to be returned during the
      the on-run-start callback.
    bad_debug_urls: Bad URL values to be returned during the on-run-start
      callback.
docstr_tok: ["Constructor",".","Args",":","sess",":","The","TensorFlow","Session","object","to","be","wrapped",".","bad_init_action",":","(","str",")","bad","action","value","to","be","returned","during","the","on-session-init","callback",".","bad_run_start_action",":","(","str",")","bad","action","value","to","be","returned","during","the","the","on-run-start","callback",".","bad_debug_urls",":","Bad","URL","values","to","be","returned","during","the","on-run-start","callback","."]
code: def __init__(
      self,
      sess,
      bad_init_action=None,
      bad_run_start_action=None,
      bad_debug_urls=None,
  ):
      """Constructor.
  
      Args:
        sess: The TensorFlow Session object to be wrapped.
        bad_init_action: (str) bad action value to be returned during the
          on-session-init callback.
        bad_run_start_action: (str) bad action value to be returned during the
          the on-run-start callback.
        bad_debug_urls: Bad URL values to be returned during the on-run-start
          callback.
      """
  
      self._bad_init_action = bad_init_action
      self._bad_run_start_action = bad_run_start_action
      self._bad_debug_urls = bad_debug_urls
  
      # Invoke superclass constructor.
      framework.BaseDebugWrapperSession.__init__(self, sess)
  
imports: import os
  import tempfile
  import threading
  import numpy
  from tensorflow.core.protobuf import config_pb2
  from tensorflow.core.protobuf import rewriter_config_pb2
  from tensorflow.python.client import session
  from tensorflow.python.debug.lib import debug_data
  from tensorflow.python.debug.wrappers import framework
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import googletest
  from tensorflow.python.training import monitored_session
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 1 to create a new TestDebugWrapperSessionBadAction object from inherited base classes: framework with example: obj = TestDebugWrapperSessionBadAction(sess, bad_init_action, bad_run_start_action, bad_debug_urls)