code: def __getattr__(self, name: str) -> Variable[tp.Any]:
      value = self._mapping[name]
      if not isinstance(value, Variable):
          raise AttributeError(f"Variable '{name}' not found.")
      return value
  
imports: from __future__ import annotations
  import typing
  import jax
  import jax.tree_util
  from flax import traverse_util
  from flax.experimental.nnx.nnx import filterlib, reprlib
  from flax.experimental.nnx.nnx.variables import Variable
label_desc: Use image node_id 4 for calling the StateVariablesMapping obj's underlying member method code with example usage: obj.__getattr__(name) and returns: value