code: def _readonly(self, *args, **kwargs):
      raise SacredError(
          "The configuration is read-only in a captured function!",
          filter_traceback="always",
      )
  
imports: import copy
  import sacred.optional
  from sacred.utils import join_paths, SacredError
label_desc: Use image node_id 2 for calling the ReadOnlyContainer obj's underlying member method code with example usage: obj._readonly() without return types