code: def get_base_path() -> Path:
      
      env_data_path = os.environ.get("EFB_DATA_PATH", None)
      if env_data_path:
          base_path = Path(env_data_path).resolve()
      else:
          base_path = Path.home() / ".ehforwarderbot"
      if not base_path.exists():
          base_path.mkdir(parents=True)
      return base_path
docs: Get the base data path for EFB. This can be defined by the
      environment variable ``EFB_DATA_PATH``.
      
      If ``EFB_DATA_PATH`` is not defined, this gives
      ``~/.ehforwarderbot``.
      
      This method creates the queried path if not existing.
      
      Returns:
          The base path.