docs: def generate(self, model, outfolder):
          """
          Generate artifacts for given model.
          
          Attributes:
              model:
                  Model for which to generate code.
              outfolder: 
                  Folder where code files are created.
          """
          _logger.info('Generating code to {!r}.'.format(outfolder))
  
          for task in self.tasks:
              for element in task.filtered_elements(model):
                  task.run(element, outfolder)