code: def auto(cls: Optional[Type[T]]) -> Type[T]:
      ...
  
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 1 for calling a global function with example usage: auto(cls) without return types