code: def get_workflow(self, name):
      client = self._client.get()
      try:
          workflow = (
              client.CustomObjectsApi().get_namespaced_custom_object(
                  group=self._group,
                  version=self._version,
                  namespace=self._namespace,
                  plural="workflows",
                  name=name,
              )
          )
      except client.rest.ApiException as e:
          if e.status == 404:
              return None
          raise ArgoClientException(
              json.loads(e.body)["message"]
              if e.body is not None
              else e.reason
          )
      return workflow
  
imports: import json
  import os
  import sys
  from metaflow.exception import MetaflowException
  from metaflow.plugins.kubernetes.kubernetes_client import KubernetesClient
label_desc: Use image node_id 2 for calling the ArgoClient obj's underlying member method code with example usage: obj.get_workflow(name) and returns: workflow, None