// This file is autogenerated, DO NOT EDIT
// ingest/range-enrich-policy-type-ex.asciidoc:33

[source, python]
----
resp = client.index(
    index="networks",
    id="1",
    refresh="wait_for",
    document={
        "range": "10.100.0.0/16",
        "name": "production",
        "department": "OPS"
    },
)
print(resp)
----
