{
  "pipelineSpec": {
    "components": {
      "comp-hello-world": {
        "executorLabel": "exec-hello-world",
        "inputDefinitions": {
          "parameters": {
            "text": {
              "type": "STRING"
            }
          }
        }
      }
    },
    "deploymentSpec": {
      "executors": {
        "exec-hello-world": {
          "container": {
            "args": ["--text", "{{$.inputs.parameters['text']}}"],
            "command": [
              "sh",
              "-ec",
              "program_path=$(mktemp)\nprintf \"%s\" \"$0\" > \"$program_path\"\npython3 -u \"$program_path\" \"$@\"\n",
              "def hello_world(text):\n    print(text)\n    return text\n\nimport argparse\n_parser = argparse.ArgumentParser(prog='Hello world', description='')\n_parser.add_argument(\"--text\", dest=\"text\", type=str, required=True, default=argparse.SUPPRESS)\n_parsed_args = vars(_parser.parse_args())\n\n_outputs = hello_world(**_parsed_args)\n"
            ],
            "image": "python:3.7"
          }
        }
      }
    },
    "pipelineInfo": {
      "name": "component-used-twice"
    },
    "root": {
      "dag": {
        "tasks": {
          "hello-world": {
            "cachingOptions": {
              "enableCache": true
            },
            "componentRef": {
              "name": "comp-hello-world"
            },
            "inputs": {
              "parameters": {
                "text": {
                  "componentInputParameter": "text"
                }
              }
            },
            "taskInfo": {
              "name": "hello-world"
            }
          },
          "hello-world-2": {
            "cachingOptions": {
              "enableCache": true
            },
            "componentRef": {
              "name": "comp-hello-world"
            },
            "inputs": {
              "parameters": {
                "text": {
                  "componentInputParameter": "text"
                }
              }
            },
            "taskInfo": {
              "name": "hello-world-2"
            }
          }
        }
      },
      "inputDefinitions": {
        "parameters": {
          "text": {
            "type": "STRING"
          }
        }
      }
    },
    "schemaVersion": "2.0.0",
    "sdkVersion": "kfp-1.6.5"
  },
  "runtimeConfig": {
    "parameters": {
      "text": {
        "stringValue": "hi there"
      }
    }
  }
}
