// This file is autogenerated, DO NOT EDIT
// docs/multi-get.asciidoc:245

[source, python]
----
resp = client.mget(
    index="test",
    stored_fields="field1,field2",
    docs=[
        {
            "_id": "1"
        },
        {
            "_id": "2",
            "stored_fields": [
                "field3",
                "field4"
            ]
        }
    ],
)
print(resp)
----
