// This file is autogenerated, DO NOT EDIT
// indices/split-index.asciidoc:50

[source, python]
----
resp = client.indices.add_block(
    index="my_source_index",
    block="write",
)
print(resp)
----
