code: def concat(
      arrays: Union[Tuple[Array, ...], List[Array]],
      /,
      *,
      axis: Optional[int] = 0,
  ) -> Array:
      """
      Array API compatible wrapper for :py:func:`np.concatenate <numpy.concatenate>`.
  
      See its docstring for more information.
      """
      # Note: Casting rules here are different from the np.concatenate default
      # (no for scalars with axis=None, no cross-kind casting)
      dtype = result_type(*arrays)
      arrays = tuple(a._array for a in arrays)
      return Array._new(np.concatenate(arrays, axis=axis, dtype=dtype))
  
file_path: numpy/numpy/array_api/_manipulation_functions.py
imports: from __future__ import annotations
  from ._array_object import Array
  from ._data_type_functions import result_type
  from typing import List, Optional, Tuple, Union
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: concat() and returns: Array