code: def xdg_config_home() -> Path:
      value = os.environ.get("XDG_CONFIG_HOME")
      if value is None:
          return Path(Path.home(), ".config")
      return Path(value)
  
file_path: hail/hail/python/hailtop/config/user_config.py
imports: from typing import Optional, Union, TypeVar
  import os
  import re
  import configparser
  import warnings
  from pathlib import Path
  from .variables import ConfigVariable
label_desc: Use image node_id 1 for calling a global function with example usage: xdg_config_home() and returns: Path, Path