code: def _array_namespace(self, /, *, api_version: None | str = None):
      if (
          api_version is not None
          and api_version != __array_api_version__
      ):
          raise ValueError(
              f"{api_version=!r} is not available; "
              f"available versions are: {[__array_api_version__]}"
          )
      return jax.experimental.array_api
  
file_path: jax/jax/experimental/array_api/_array_methods.py
imports: from __future__ import annotations
  from typing import Any, Callable
  import jax
  from jax._src.array import ArrayImpl
  from jax.experimental.array_api._version import __array_api_version__
  from jax._src.lib import xla_extension
label_desc: Use image node_id 1 for calling a global function with example usage: _array_namespace() and returns: jax