code: def load_user_settings_and_secrets(q: Q):
      _maybe_migrate_to_yaml(q)
      _load_secrets(q)
      _load_user_settings(q)
  
imports: import errno
  import functools
  import logging
  import os
  import pickle
  import signal
  import traceback
  from typing import Any, List
  import keyring
  import yaml
  from h2o_wave import Q, ui
  from keyring.errors import KeyringLocked, PasswordDeleteError
  from llm_studio.app_utils.config import default_cfg
  from llm_studio.app_utils.utils import get_database_dir, get_user_id
label_desc: Use image node_id 1 for calling a global function with example usage: load_user_settings_and_secrets(q) without return types