#NEWLINE# def get_device( self , **kwargs ) : #NEWLINE# #INDENT# '\n        Uses the data from the setup step and generated key to recreate device.\n        ' #NEWLINE# kwargs = ( kwargs or { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# kwargs . update ( self . storage . validated_step_data . get ( 'setup' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) ) #NEWLINE# return PhoneDevice ( key = self . get_key ( ) , ** kwargs )