class_docstr: Helper utils for Workflow Archiver tool.
  This class lists out all the methods such as validations for workflow archiving.
code: def generate_workflow(workflow_args):
      workflow = Workflow(
          workflow_name=workflow_args.workflow_name,
          spec_file=workflow_args.spec_file,
          handler=workflow_args.handler,
      )
      return workflow
  
imports: import logging
  import os
  import re
  import zipfile
  import shutil
  import tempfile
  from .workflow_archiver_error import WorkflowArchiverError
  from .manifest_components.manifest import Manifest
  from .manifest_components.workflow import Workflow
label_desc: Use image node_id 3 for calling the WorkflowExportUtils obj's underlying member method code with example usage: obj.generate_workflow(workflow_args) and returns: workflow