def _get_random_string():
 return ''.join((random.choice((string.ascii_uppercase + string.digits)) for _ in range(RAND_LENGTH_SIZE)))

def _get_random_string ( ) : return '' . join ( ( random . choice ( ( string . ascii_uppercase + string . digits ) ) for _ in range ( RAND_LENGTH_SIZE ) ) )
return a securely generated random string .