code: def load_default_user_settings(q: Q, clear_secrets=True):
      for key in default_cfg.user_settings:
          q.client[key] = default_cfg.user_settings[key]
          if clear_secrets:
              _clear_secrets(q, key)
  
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 2 for calling a global function with example usage: load_default_user_settings(q, clear_secrets) without return types