def test_query_pipeline_single_arg_inp() -> None:
    """Test query pipeline with single arg input (no kwargs)."""
    # should work if input is a single arg
    p = QueryPipeline(chain=[QueryComponent3(), QueryComponent3()])
    # since there's one output, output is just the value
    output = p.run(3)
    assert output == 12
Test query pipeline with single arg input (no kwargs).
llama-index-core/tests/query_pipeline/test_query.py