class_docstr: Workflow is a part of the manifest.json. It defines the properties of the workflow such as name, handler file etc.
code: def __to_dict__(self):
      workflow_dict = dict()
  
      workflow_dict["workflowName"] = self.workflow_name
  
      workflow_dict["specFile"] = self.spec_file
  
      workflow_dict["handler"] = self.handler
  
      return workflow_dict
  
imports: import json
label_desc: Use image node_id 2 for calling the Workflow obj's underlying member method code with example usage: obj.__to_dict__() and returns: workflow_dict