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

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 .