def db_pass():
 if (not env.db_pass):
  env.db_pass = getpass(u'Enter the database password: ')
 return env.db_pass

def db_pass ( ) : if ( not env . db_pass ) : env . db_pass = getpass ( u'Enter the database password: ' ) return env . db_pass
prompts for the database password if unknown .