// This file is autogenerated, DO NOT EDIT
// docs/refresh.asciidoc:87

[source, python]
----
resp = client.index(
    index="test",
    id="1",
    refresh=True,
    document={
        "test": "test"
    },
)
print(resp)

resp1 = client.index(
    index="test",
    id="2",
    refresh=True,
    document={
        "test": "test"
    },
)
print(resp1)
----
