code: def rich_repr(
      cls: Optional[Type[T]] = None, *, angular: bool = False
  ) -> Union[Type[T], Callable[[Type[T]], Type[T]]]:
      if cls is None:
          return auto(angular=angular)
      else:
          return auto(cls)
  
file_path: rich/rich/repr.py
imports: import inspect
  from functools import partial
  from typing import Any, Callable, Iterable, List, Optional, Tuple, Type, TypeVar, Union, overload
label_desc: Use image node_id 6 for calling a global function with example usage: rich_repr(cls) and returns: auto, auto