#NEWLINE# def get_key( self ) : #NEWLINE# #INDENT# '\n        The key is preserved between steps and stored as ascii in the session.\n        ' #NEWLINE# if ( self . key_name not in self . storage . extra_data ) : #NEWLINE# #INDENT# key = random_hex ( 20 ) . decode ( 'ascii' ) #NEWLINE# self . storage . extra_data [ self . key_name ] = key #NEWLINE# #UNINDENT# return key . storage . extra_data [ self . key_name ]