class_docstr: Scope to propagate safe mode flag to nested deserialization calls.
class_docstr_tok: ["Scope","to","propagate","safe","mode","flag","to","nested","deserialization","calls","."]
code: def __enter__(self):
      self.original_value = in_safe_mode()
      global_state.set_global_attribute(
          "safe_mode_saving", self.safe_mode
      )
  
imports: import importlib
  import inspect
  import types
  import warnings
  import numpy
  from keras import api_export
  from keras import backend
  from keras.api_export import keras_export
  from keras.backend.common import global_state
  from keras.saving import object_registration
  from keras.utils import python_utils
  from keras.utils.module_utils import tensorflow
label_desc: Use image node_id 2 for calling the SafeModeScope obj's underlying member method code with example usage: obj.__enter__() without return types