class_docstr_tok: []
code: def _try_load_config(
      self, locations: Sequence[Path]
  ) -> dict[str, Any]:
      for location in locations:
          try:
              with location.open() as f:
                  return yaml.load(f, Loader=yaml.SafeLoader)
          except Exception:
              pass
      return {}
  
imports: from __future__ import annotations
  import logging
  import os
  from os.path import join
  from pathlib import Path
  from typing import TYPE_CHECKING, Any, Callable, Generic, Literal, Sequence, TypeVar, Union, cast
  import yaml
  from .util.deprecation import deprecated
  from .util.paths import bokehjs_path, server_path
label_desc: Use image node_id 12 for calling the Settings obj's underlying member method code with example usage: obj._try_load_config(locations) and returns: dict, yaml