parameters: (self)
return_statement: return '\n'.join(imports + [''] + output)
docstring: Writes a python script for reproducing the actions of this widget.
docstring_summary: Writes a python script for reproducing the actions of this widget.
docstring_tokens: Writes a python script for reproducing the actions of this widget .
function: def repr(self):
          """
          Writes a python script for reproducing the actions of this widget.
          """
  
          # Setup
          output = []
          imports = []
  
          # Build script from plugins
          for plugin in self._plugins.values():
              out, imp = plugin.repr()
              output += out
              mooseutils.unique_list(imports, imp)
  
          return '\n'.join(imports + [''] + output)
function_tokens: def repr ( self ) : # Setup output = [ ] imports = [ ] # Build script from plugins for plugin in self . _plugins . values ( ) : out , imp = plugin . repr ( ) output += out mooseutils . unique_list ( imports , imp ) return '\n' . join ( imports + [ '' ] + output )