code: def configure_argo_events(existing_env):
      env = {}
  
      # Argo events service account
      env["METAFLOW_ARGO_EVENTS_SERVICE_ACCOUNT"] = click.prompt(
          cyan("[METAFLOW_ARGO_EVENTS_SERVICE_ACCOUNT]")
          + " Service Account for Argo Events. ",
          default=existing_env.get(
              "METAFLOW_ARGO_EVENTS_SERVICE_ACCOUNT", ""
          ),
          show_default=True,
      )
  
      # Argo events event bus
      env["METAFLOW_ARGO_EVENTS_EVENT_BUS"] = click.prompt(
          cyan("[METAFLOW_ARGO_EVENTS_EVENT_BUS]")
          + yellow(" (optional)")
          + " Event Bus for Argo Events.",
          default=existing_env.get(
              "METAFLOW_ARGO_EVENTS_EVENT_BUS", "default"
          ),
          show_default=True,
      )
  
      # Argo events event source
      env["METAFLOW_ARGO_EVENTS_EVENT_SOURCE"] = click.prompt(
          cyan("[METAFLOW_ARGO_EVENTS_EVENT_SOURCE]")
          + " Event Source for Argo Events.",
          default=existing_env.get(
              "METAFLOW_ARGO_EVENTS_EVENT_SOURCE", ""
          ),
          show_default=True,
      )
  
      # Argo events event name
      env["METAFLOW_ARGO_EVENTS_EVENT"] = click.prompt(
          cyan("[METAFLOW_ARGO_EVENTS_EVENT]")
          + " Event name for Argo Events.",
          default=existing_env.get("METAFLOW_ARGO_EVENTS_EVENT", ""),
          show_default=True,
      )
  
      # Argo events webhook url
      env["METAFLOW_ARGO_EVENTS_WEBHOOK_URL"] = click.prompt(
          cyan("[METAFLOW_ARGO_EVENTS_WEBHOOK_URL]")
          + " Publicly accessible URL for Argo Events Webhook.",
          default=existing_env.get(
              "METAFLOW_ARGO_EVENTS_WEBHOOK_URL", ""
          ),
          show_default=True,
      )
      # Set internal URL for Argo events webhook
      env["METAFLOW_ARGO_EVENTS_INTERNAL_WEBHOOK_URL"] = click.prompt(
          cyan("[METAFLOW_ARGO_EVENTS_INTERNAL_WEBHOOK_URL]")
          + yellow(" (optional)")
          + " URL for Argo Events Webhook "
          + "(Accessible only within a Kubernetes cluster).",
          default=existing_env.get(
              "METAFLOW_ARGO_EVENTS_INTERNAL_WEBHOOK_URL",
              env["METAFLOW_ARGO_EVENTS_WEBHOOK_URL"],
          ),
          show_default=True,
      )
  
      return env
  
imports: import json
  import os
  import sys
  from os.path import expanduser
  from metaflow.util import to_unicode
  from metaflow._vendor import click
  from metaflow.util import to_unicode
  from .util import echo_always, makedirs
label_desc: Use image node_id 26 for calling a global function with example usage: configure_argo_events(existing_env) and returns: env