def METHOD_NAME(self):
    def echo():
        return kfp.dsl.ContainerOp(
            name="echo",
            image=BASE_IMAGE,
            command=[
                "echo", "hello world", ">", "/tmp/outputs/output_file"
            ],
            arguments=[],
            file_outputs={"output": "/tmp/outputs/output_file"},
        )
    def _pipeline():
        _echo = echo()
        component_connect_demo(_echo.output)
    run_pipeline_func_locally(
        _pipeline, {}, execution_mode=LocalClient.ExecutionMode("local"))