code: def get(alias: Optional[str] = None) -> Any:
      """
      Gets one or all global settings.
  
      :param str alias: The name of a registered setting.
      :returns: The currently set value.
      """
      if alias is None:
          # Return dict of all settings.
          return {alias: get(alias) for alias in sorted(_REGISTRY)}
      # Get a single setting.
      module, deepname, validator = _REGISTRY[alias]
      value = import_module(module)
      for name in deepname.split("."):
          value = getattr(value, name)
      return value
  
file_path: pyro/pyro/settings.py
imports: import functools
  from contextlib import contextmanager
  from importlib import import_module
  from typing import Any, Callable, Dict, Iterator, Optional, Tuple
label_desc: Use image node_id 1 for calling a global function with example usage: get(alias) and returns: value, unknown