code: def _clear_secrets(q: Q, name: str, excludes=tuple()):
      for secret_name in Secrets.names():
          if secret_name not in excludes:
              secrets_handler = Secrets.get(secret_name)(
                  username=get_user_id(q), root_dir=get_database_dir(q)
              )
  
              secrets_handler.delete(name)
  
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 9 for calling a global function with example usage: _clear_secrets(q, name, excludes) without return types