def get_database_password(name):

  password = DATABASES[name].PASSWORD.get()
  if not password:
    password = DATABASES[name].PASSWORD_SCRIPT.get()

  return password
Return the configured database password.
dataset/ETHPy150Open cloudera/hue/desktop/libs/librdbms/src/librdbms/conf.py/get_database_password