code: def __getattr__(name):
      # Can't use the @_deprecated decorator as it would not work on `except AxisError`
      if name == "AxisError":
          warnings.warn(
              "AxisError was deprecated after version 2021.10.0 and will be removed in a "
              f"future release. Please use {typename(AxisError)} instead.",
              category=FutureWarning,
              stacklevel=2,
          )
          return AxisError
      else:
          raise AttributeError(
              f"module {__name__} has no attribute {name}"
          )
  
imports: from __future__ import annotations
  import contextlib
  import functools
  import itertools
  import math
  import numbers
  import warnings
  import numpy
  from tlz import concat, frequencies
  from dask.array.core import Array
  from dask.array.numpy_compat import AxisError
  from dask.base import is_dask_collection, tokenize
  from dask.highlevelgraph import HighLevelGraph
  from dask.utils import has_keyword, is_arraylike, is_cupy_type, typename
label_desc: Use image node_id 23 for calling a global function with example usage: __getattr__(name) and returns: AxisError