code: def set_verbosity(level: Union[int, Verbosity]):
      global verbosity
  
      if isinstance(level, int):
          verbosity = Verbosity(level)
      else:
          verbosity = level
  
file_path: ray/python/ray/tune/utils/log.py
imports: import time
  from enum import Enum
  from typing import Dict, Tuple, Union
  from ray.util import PublicAPI
  from ray.util.annotations import DeveloperAPI
label_desc: Use image node_id 1 for calling a global function with example usage: set_verbosity(level) without return types